hiscore.cpp: fixed another corruption scenario - "reset puckman after a successfull boot, and exit the game before it fully boots up."

This commit is contained in:
dinkc64 2015-08-07 03:49:36 +00:00
parent ff5ba3e93e
commit 527a55195b
1 changed files with 3 additions and 1 deletions

View File

@ -463,7 +463,9 @@ void HiscoreReset()
if (!CheckHiscoreAllowed() || !HiscoresInUse) return;
if (nCpuType == -1) set_cpu_type();
WriteCheck1 = 0;
for (UINT32 i = 0; i < nHiscoreNumRanges; i++) {
HiscoreMemRange[i].ApplyNextFrame = 0;
HiscoreMemRange[i].Applied = APPLIED_STATE_NONE;