mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-30 01:29:52 -06:00
make sure Key1 data is loaded right even if the BIOSes aren't loaded at the time
This commit is contained in:
@ -747,6 +747,9 @@ void DoSavestate(Savestate* file)
|
||||
//void LoadROMCommon(const char *sram)
|
||||
bool LoadROM(const u8* romdata, u32 romlen)
|
||||
{
|
||||
if (CartInserted)
|
||||
EjectCart();
|
||||
|
||||
CartROMSize = 0x200;
|
||||
while (CartROMSize < romlen)
|
||||
CartROMSize <<= 1;
|
||||
|
Reference in New Issue
Block a user