naomi: allow eeprom-based settings to be overridden (rotate, region)

This commit is contained in:
Flyinghead 2022-10-12 22:59:46 +02:00
parent 3d00ac338b
commit 02d4b821d7
1 changed files with 4 additions and 1 deletions

View File

@ -524,9 +524,12 @@ void Emulator::loadGame(const char *path, LoadProgress *progress)
}
mcfg_DestroyDevices();
mcfg_CreateDevices();
if (settings.platform.isNaomi())
if (settings.platform.isNaomi()) {
// Must be done after the maple devices are created and EEPROM is accessible
naomi_cart_ConfigureEEPROM();
// and reload settings so that eeprom-based settings can be overridden
loadGameSpecificSettings();
}
cheatManager.reset(settings.content.gameId);
if (cheatManager.isWidescreen())
{