Commit framelimiter patch from issue 1025
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3537 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
1f590b8900
commit
d3bf69a154
|
@ -696,6 +696,9 @@ void Callback_VideoCopiedToXFB()
|
|||
|
||||
if (Timer.GetTimeDifference() >= 1000)
|
||||
{
|
||||
// reset timer for framelimiter, placed here so no additional check for 1000ms is required -> don't delete please :)
|
||||
old_frametime = 0;
|
||||
|
||||
// Time passed
|
||||
float t = (float)(Timer.GetTimeDifference()) / 1000.f;
|
||||
|
||||
|
|
Loading…
Reference in New Issue