From 6951a706ba71e67724b4b29f705f9abdea1b74d5 Mon Sep 17 00:00:00 2001 From: smf- Date: Tue, 4 Jul 2017 12:33:43 +0100 Subject: [PATCH] Revert f8 behaviour, to run until next start of vblank, by re-adding a check that was removed as part of this commit (nw) SHA-1: 56bd36c5ef3960874628bc08cbfcedf4c6057a19 * Major refactoring of debugger core [Ryan Holtz] * Eliminate globals/file statics * Remove lots of stuff from global scope * Use std::function for custom command registration * Eliminate some trampolines * Build fixes from Vas Crabb and balr0g --- src/emu/debug/debugcpu.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/emu/debug/debugcpu.cpp b/src/emu/debug/debugcpu.cpp index 5124204a500..dfc581d478b 100644 --- a/src/emu/debug/debugcpu.cpp +++ b/src/emu/debug/debugcpu.cpp @@ -767,7 +767,8 @@ u64 debugger_cpu::read_opcode(address_space &space, offs_t address, int size) void debugger_cpu::on_vblank(screen_device &device, bool vblank_state) { /* just set a global flag to be consumed later */ - m_vblank_occurred = true; + if (vblank_state) + m_vblank_occurred = true; }