video.cpp: Revise 77834407f2 to only reset "last time" measurements when loading a state

This commit is contained in:
AJR 2022-01-22 16:20:50 -05:00
parent ec42b77c04
commit 87e4e6500a

View File

@ -511,14 +511,9 @@ void video_manager::postload()
for (const auto &x : m_movie_recordings)
x->set_next_frame_time(emutime);
// restart time counters
// reset speed counters
m_speed_last_realtime = osd_ticks();
m_speed_last_emutime = emutime;
m_speed_percent = 1.0;
m_overall_valid_counter = 0;
m_overall_real_ticks = 0;
m_overall_real_seconds = 0;
m_overall_emutime = attotime::zero;
}