Mapper 227: Correct the behavior of submapper 2. Remove submapper 3, as it's actually just mapper 280 without the reset-based UNROM game spot populated.

This commit is contained in:
NewRisingSun
2025-10-25 13:49:24 +02:00
parent f452da1c89
commit 0a4c82155b

View File

@@ -395,10 +395,10 @@ static void M227Sync(void) {
} else {
if (L) {
setprg16(0x8000, p);
setprg16(0xC000, submapper ==3? 0: (p | 7));
setprg16(0xC000, p | 7);
} else {
setprg16(0x8000, p);
setprg16(0xC000, submapper ==2? 0: (p & 0x38));
setprg16(0xC000, submapper ==2? (p & 0x20): (p & 0x38));
}
}
}