Add mapper 429 submapper 2.

This commit is contained in:
NewRisingSun
2026-02-01 11:25:21 +01:00
parent 9a4beeadfa
commit db5855b951

View File

@@ -558,7 +558,10 @@ void BMCK3046_Init(CartInfo *info) {
static void Mapper429_Sync(void) {
setprg32(0x8000, latche >>2);
setchr8(latche);
if (submapper == 2)
setchr8(latche &3 | (latche &4 && latche &8? 4: 0));
else
setchr8(latche);
}
static void Mapper429_Reset(void) {
@@ -567,6 +570,7 @@ static void Mapper429_Reset(void) {
}
void Mapper429_Init(CartInfo *info) {
submapper = info->submapper;
info->Reset = Mapper429_Reset;
Latch_Init(info, Mapper429_Sync, 0, 0x8000, 0xFFFF, 0, 0);
}