diff options
| author | Soren Jorvang <soren.jorvang@gmail.com> | 2010-05-31 16:23:13 +0000 |
|---|---|---|
| committer | Soren Jorvang <soren.jorvang@gmail.com> | 2010-05-31 16:23:13 +0000 |
| commit | 95edef2e0d610d54984a10585248f41fca247e12 (patch) | |
| tree | a451348011abf4d851390acc50ac8453c5cbfbe8 /Source/Core | |
| parent | 220c3ae8297b52c81a48f88db568d63a2d5b6d65 (diff) | |
Avoid printing garbage numbers in the status line when the process
becomes blocked. This was most readily apparent when first starting
programs from a high-latency filesystem.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5558 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/Src/Core.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/Src/Core.cpp b/Source/Core/Core/Src/Core.cpp index 5713cb88d0..1fb2c4e1be 100644 --- a/Source/Core/Core/Src/Core.cpp +++ b/Source/Core/Core/Src/Core.cpp @@ -622,7 +622,7 @@ void VideoThrottle() // Update info per second u32 ElapseTime = (u32)Timer.GetTimeDifference(); - if (ElapseTime >= 1000) + if (ElapseTime >= 1000 && DrawnVideo > 0) { SCoreStartupParameter& _CoreParameter = SConfig::GetInstance().m_LocalCoreStartupParameter; |
