fix SCFG_MC cartridge inserted bit

This commit is contained in:
RSDuck
2022-08-21 22:11:22 +02:00
parent 22b312bc43
commit d56219c33c
3 changed files with 14 additions and 1 deletions

View File

@ -1679,6 +1679,7 @@ bool LoadROM(const u8* romdata, u32 romlen)
}
CartInserted = true;
DSi::SetCartInserted(true);
u32 irversion = 0;
if ((gamecode & 0xFF) == 'I')
@ -1738,6 +1739,8 @@ void EjectCart()
CartROMSize = 0;
CartID = 0;
DSi::SetCartInserted(false);
// CHECKME: does an eject imply anything for the ROM/SPI transfer registers?
}