diff options
author | yz70s <yz70s@users.noreply.github.com> | 2019-08-09 07:59:27 +0200 |
---|---|---|
committer | yz70s <yz70s@users.noreply.github.com> | 2019-08-09 08:12:00 +0200 |
commit | e1b078da42f304ddf6ada0cc9134174c397874be (patch) | |
tree | 0140562cf162067e225b809b876f5fc6ae5b71d4 /src/emu | |
parent | 49af3714fa0f893254b4008adcaf0ac6c283e9ec (diff) |
dvdisasm.cpp: move to the position of the cursor only if the cursor is actually visible (nw)
Otherwise it would jump to a seemingly random position in certain cases.
Diffstat (limited to 'src/emu')
-rw-r--r-- | src/emu/debug/dvdisasm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/debug/dvdisasm.cpp b/src/emu/debug/dvdisasm.cpp index fecb02d4998..35550e75c01 100644 --- a/src/emu/debug/dvdisasm.cpp +++ b/src/emu/debug/dvdisasm.cpp @@ -109,7 +109,7 @@ void debug_view_disasm::enumerate_sources() void debug_view_disasm::view_notify(debug_view_notification type) { - if(type == VIEW_NOTIFY_CURSOR_CHANGED) + if((type == VIEW_NOTIFY_CURSOR_CHANGED) && (m_cursor_visible == true)) adjust_visible_y_for_cursor(); else if(type == VIEW_NOTIFY_SOURCE_CHANGED) |