mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-03 19:42:45 +01:00
Merge pull request #891 from RachelBryk/netplay-time
Allow system time to move forward during netplay.
This commit is contained in:
commit
e2dfa603a0
@ -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…
x
Reference in New Issue
Block a user