VMManager: Clear memory card eject timeout when game starts

If we don't reset the timer here, when using folder memcards
the reindex will cause an eject, which a bunch of games don't
like since they access the memory card on boot.
This commit is contained in:
Connor McLaughlin 2022-05-23 20:03:36 +10:00 committed by refractionpcsx2
parent b59d4791cf
commit d279f61d0b
1 changed files with 4 additions and 0 deletions

View File

@ -1165,6 +1165,10 @@ void VMManager::Internal::GameStartingOnCPUThread()
UpdateRunningGame(false);
ApplyLoadedPatches(PPT_ONCE_ON_LOAD);
ApplyLoadedPatches(PPT_COMBINED_0_1);
// If we don't reset the timer here, when using folder memcards the reindex will cause an eject,
// which a bunch of games don't like since they access the memory card on boot.
ClearMcdEjectTimeoutNow();
}
void VMManager::Internal::VSyncOnCPUThread()