Fix Load State for Mapper 19, should not call `SyncMirror` after calling `FixNTAR` (#293)

This commit is contained in:
Dan Weiss 2020-12-31 08:49:09 -05:00 committed by GitHub
parent b66bcfb3e2
commit 5f1263aef3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -351,9 +351,9 @@ static void DoNamcoSound(int32 *Wave, int Count) {
static void Mapper19_StateRestore(int version) { static void Mapper19_StateRestore(int version) {
SyncPRG(); SyncPRG();
SyncMirror();
FixNTAR(); FixNTAR();
FixCRR(); FixCRR();
SyncMirror();
int x; int x;
for (x = 0x40; x < 0x80; x++) for (x = 0x40; x < 0x80; x++)
FixCache(x, IRAM[x]); FixCache(x, IRAM[x]);