mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-29 11:15:41 -04:00
HostInterface: Reset counters when starting from state
This commit is contained in:
parent
3a0f8bffc5
commit
1ed8243776
@ -410,8 +410,6 @@ bool HostInterface::LoadState(const char* filename)
|
|||||||
m_system->Reset();
|
m_system->Reset();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_system->ResetPerformanceCounters();
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -429,6 +427,7 @@ bool HostInterface::LoadState(const char* filename)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
m_system->ResetPerformanceCounters();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user