mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Rerecording: Wind back the frame counter in the status bar when a save state is loaded. Issues: The frame updates do currently not occur as often as the input updates. The input updates occur more frequently, perhaps closer to 60 times per real seconds.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2274 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -91,11 +91,17 @@ s64 Timer::GetTimeDifference(void)
|
||||
return(timeGetTime() - m_LastTime);
|
||||
}
|
||||
|
||||
// Add the time difference since the last Update() to the starting time
|
||||
/* Add the time difference since the last Update() to the starting time. This is used to compensate
|
||||
for a paused game. */
|
||||
void Timer::AddTimeDifference()
|
||||
{
|
||||
m_StartTime += GetTimeDifference();
|
||||
}
|
||||
// Wind back the starting time to a custom time
|
||||
void Timer::WindBackStartingTime(u64 WindBack)
|
||||
{
|
||||
m_StartTime += WindBack;
|
||||
}
|
||||
|
||||
// Get the time elapsed since the Start()
|
||||
u64 Timer::GetTimeElapsed(void)
|
||||
|
Reference in New Issue
Block a user