VMManager: Fix per-game memory cards getting ejected on boot

This commit is contained in:
Connor McLaughlin authored and refractionpcsx2 committed 2022-09-25 14:32:25 +01:00
1 parent 5db2bef7b0
commit d5e8fadc64
1 file changed
+6 -1
+6 -1
View File
@@ -681,7 +681,12 @@ void VMManager::UpdateRunningGame(bool resetting, bool game_starting)
UpdateGameSettingsLayer();
ApplySettings();
// check this here, for two cases: dynarec on, and when enable cheats is set per-game.
// Clear the memory card eject notification again when booting for the first time, or starting.
// Otherwise, games think the card was removed on boot.
if (game_starting || resetting)
ClearMcdEjectTimeoutNow();
// Check this here, for two cases: dynarec on, and when enable cheats is set per-game.
if (s_patches_crc != s_game_crc)
ReloadPatches(game_starting, false);