clear the save state loaded from a previous movie when starting emulation
This commit is contained in:
parent
6b99b746c8
commit
783409c765
|
@ -114,6 +114,8 @@ void Init()
|
||||||
g_bFrameStop = false;
|
g_bFrameStop = false;
|
||||||
g_frameSkipCounter = g_framesToSkip;
|
g_frameSkipCounter = g_framesToSkip;
|
||||||
memset(&g_padState, 0, sizeof(g_padState));
|
memset(&g_padState, 0, sizeof(g_padState));
|
||||||
|
if (!tmpHeader.bFromSaveState)
|
||||||
|
Core::SetStateFileName("");
|
||||||
for (int i = 0; i < 8; ++i)
|
for (int i = 0; i < 8; ++i)
|
||||||
g_InputDisplay[i].clear();
|
g_InputDisplay[i].clear();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue