From c0e52b9a1a646b2b2c02b9a56e65d20986743313 Mon Sep 17 00:00:00 2001 From: Enrique Santos Date: Fri, 8 Jul 2022 21:03:29 +0300 Subject: [PATCH] load game: destroy old maple devices before create call --- core/emulator.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/core/emulator.cpp b/core/emulator.cpp index 842a320f9..77ea84f1f 100644 --- a/core/emulator.cpp +++ b/core/emulator.cpp @@ -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