mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-24 22:34:54 +00:00
Merge pull request #891 from RachelBryk/netplay-time
Allow system time to move forward during netplay.
This commit is contained in:
commit
e2dfa603a0
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue