load game: destroy old maple devices before create call

This commit is contained in:
Enrique Santos 2022-07-08 21:03:29 +03:00 committed by flyinghead
parent 0840da1bd5
commit c0e52b9a1a
1 changed files with 1 additions and 0 deletions

View File

@ -505,6 +505,7 @@ void Emulator::loadGame(const char *path, LoadProgress *progress)
// Reload the BIOS in case a game-specific region is set
naomi_cart_LoadBios(path);
}
mcfg_DestroyDevices();
mcfg_CreateDevices();
if (settings.platform.isNaomi())
// Must be done after the maple devices are created and EEPROM is accessible