mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-06-28 01:49:42 -06:00
fix SCFG_MC cartridge inserted bit
This commit is contained in:
@ -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?
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user