From 13428ba696fff39e3e5d8bb13339cac1693afe1b Mon Sep 17 00:00:00 2001 From: Flyinghead Date: Sun, 15 Jan 2023 11:14:21 +0100 Subject: [PATCH] allow screen stretching to be overridden when using widescreen cheat Issue #870 --- core/emulator.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/core/emulator.cpp b/core/emulator.cpp index 161922fab..4b10c4f17 100644 --- a/core/emulator.cpp +++ b/core/emulator.cpp @@ -550,18 +550,17 @@ 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()) { gui_display_notification("Widescreen cheat activated", 1000); config::ScreenStretching.override(134); // 4:3 -> 16:9 } + // reload settings so that all settings can be overridden + loadGameSpecificSettings(); NetworkHandshake::init(); settings.input.fastForwardMode = false; if (!settings.content.path.empty())