summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2017-07-04 12:33:43 +0100
committer smf- <smf-@users.noreply.github.com>2017-07-04 12:33:43 +0100
commit6951a706ba71e67724b4b29f705f9abdea1b74d5 (patch)
treeabe3588272eddf611f602ea0db00e2a7d8d46464
parent5362a13d46a055073981a33c7acc196069ee8057 (diff)
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
-rw-r--r--src/emu/debug/debugcpu.cpp3
1 files changed, 2 insertions, 1 deletions
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;
}