From 1ed8243776b68449b81aa24d56973c2c7ae964cc Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Fri, 21 Feb 2020 23:41:40 +0900 Subject: [PATCH] HostInterface: Reset counters when starting from state --- src/core/host_interface.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/host_interface.cpp b/src/core/host_interface.cpp index 3a4c70003..603f690ae 100644 --- a/src/core/host_interface.cpp +++ b/src/core/host_interface.cpp @@ -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; }