summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2015-08-15 23:35:35 +0200
committer hap <happppp@users.noreply.github.com>2015-08-15 23:35:35 +0200
commitf60e6f36fed8bf96e3871b886947d8de48e4de7e (patch)
tree64c9279c5c11d2663327648054e112ebc912f0b3 /src
parentfe8e6aca657f202daf91ad83cc1427296b50615e (diff)
ATTN mmicko - reverted wav output fix "video.c : recompute_speed even if we skip frame, makes wav's output same for any frameskip (nw)"
This broke auto-frameskipping. MAME was unable to correct itself after a hickup and would continue frameskipping and fluctuate speed between 95 and 105%.
Diffstat (limited to 'src')
-rw-r--r--src/emu/video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/video.c b/src/emu/video.c
index a3b614f6a34..adc2888b2e7 100644
--- a/src/emu/video.c
+++ b/src/emu/video.c
@@ -239,7 +239,7 @@ void video_manager::frame_update(bool debug)
update_frameskip();
// update speed computations
- if (!debug)
+ if (!debug && !skipped_it)
recompute_speed(current_time);
// call the end-of-frame callback