Reset the stream playing flag on init.

This commit is contained in:
skidau 2012-04-23 22:15:23 +10:00
parent 26521aa66a
commit f0e1b4c1dd

View File

@ -247,6 +247,7 @@ void DoState(PointerWrap &p)
p.Do(g_ErrorCode);
p.Do(g_bDiscInside);
p.Do(g_bStream);
p.Do(CurrentStart);
p.Do(CurrentLength);
@ -278,6 +279,8 @@ void Init()
CurrentStart = 0;
CurrentLength = 0;
g_bStream = false;
ejectDisc = CoreTiming::RegisterEvent("EjectDisc", EjectDiscCallback);
insertDisc = CoreTiming::RegisterEvent("InsertDisc", InsertDiscCallback);