Allow system time to move forward during netplay.
This commit is contained in:
parent
7d05ebbc9b
commit
a3cfc98f26
|
@ -352,6 +352,8 @@ u32 CEXIIPL::GetGCTime()
|
||||||
|
|
||||||
if (0 == ltime)
|
if (0 == ltime)
|
||||||
ltime = Common::Timer::GetLocalTimeSinceJan1970();
|
ltime = Common::Timer::GetLocalTimeSinceJan1970();
|
||||||
|
else
|
||||||
|
ltime += CoreTiming::GetTicks() / SystemTimers::GetTicksPerSecond();
|
||||||
}
|
}
|
||||||
|
|
||||||
return ((u32)ltime - cJanuary2000);
|
return ((u32)ltime - cJanuary2000);
|
||||||
|
|
Loading…
Reference in New Issue