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
This commit is contained in:
Soren Jorvang 2010-05-31 16:23:13 +00:00
parent 220c3ae829
commit 95edef2e0d
1 changed files with 1 additions and 1 deletions

View File

@ -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;