mirror of
https://github.com/holub/mame
synced 2025-07-01 08:18:59 +03:00
video.cpp: Revise 77834407f2
to only reset "last time" measurements when loading a state
This commit is contained in:
parent
ec42b77c04
commit
87e4e6500a
@ -511,14 +511,9 @@ void video_manager::postload()
|
|||||||
for (const auto &x : m_movie_recordings)
|
for (const auto &x : m_movie_recordings)
|
||||||
x->set_next_frame_time(emutime);
|
x->set_next_frame_time(emutime);
|
||||||
|
|
||||||
// restart time counters
|
// reset speed counters
|
||||||
m_speed_last_realtime = osd_ticks();
|
m_speed_last_realtime = osd_ticks();
|
||||||
m_speed_last_emutime = emutime;
|
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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user