Merge pull request #622 from negativeExponent/patch-1

Mapper 354: Add CHR-RAM protect
This commit is contained in:
thor2016 2023-03-03 20:50:54 -05:00 committed by GitHub
commit c0eee08ce5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ static void Mapper354_Sync(void)
setprg32(0x8000, prg >> 1 | 3); setprg32(0x8000, prg >> 1 | 3);
break; break;
} }
SetupCartCHRMapping(0, CHRptr[0], CHRsize[0], (latchAddr & 8) ? 0 : 1);
setchr8(0); setchr8(0);
setmirror(latchData & 0x40 ? MI_H : MI_V); setmirror(latchData & 0x40 ? MI_H : MI_V);
} }