Merge pull request #547 from NRS-NewRisingSun/m354fix

Mapper 354: Add CHR RAM write-protection, fixes B-Wings
This commit is contained in:
LibretroAdmin
2023-03-03 11:25:12 +01:00
committed by GitHub

View File

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