mirror of https://github.com/PCSX2/pcsx2.git
VMManager: Fix per-game memory cards getting ejected on boot
This commit is contained in:
parent
5db2bef7b0
commit
d5e8fadc64
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue