HostInterface: Reset counters when starting from state
This commit is contained in:
1 parent
3a0f8bffc5
commit
1ed8243776
1 file changed
+1
-2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user