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();
|
||||
return false;
|
||||
}
|
||||
|
||||
m_system->ResetPerformanceCounters();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -429,6 +427,7 @@ bool HostInterface::LoadState(const char* filename)
|
|||
}
|
||||
}
|
||||
|
||||
m_system->ResetPerformanceCounters();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue