correctly report page2 status

This commit is contained in:
Will Scullin 2021-03-07 10:48:09 -08:00
parent 017e152476
commit b9bd03b958
No known key found for this signature in database
GPG Key ID: 26DCD1042C6638CD

View File

@ -585,7 +585,7 @@ export default class MMU implements Memory, Restorable<MMUState> {
result = this.vm.isMixed() ? 0x80 : 0x0;
break;
case LOC.RDPAGE2:
result = this.vm.isPage2() ? 0x80 : 0x0;
result = this._page2 ? 0x80 : 0x0;
break;
case LOC.RDHIRES:
result = this.vm.isHires() ? 0x80 : 0x0;