diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2016-07-27 09:35:00 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2016-07-27 09:35:00 +0200 |
commit | 3fc2464d7c6dd154452b45270d20154ea1a25485 (patch) | |
tree | 2db55a61bbfe3eda38a4ceab5cf8bdf8b573dfd6 | |
parent | 4887ce18443a51fd2a861da959082ad346ff4ee2 (diff) |
fix compile error (nw)
-rw-r--r-- | src/mame/video/dynax.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mame/video/dynax.cpp b/src/mame/video/dynax.cpp index 5d254272406..48277da36b2 100644 --- a/src/mame/video/dynax.cpp +++ b/src/mame/video/dynax.cpp @@ -1283,11 +1283,14 @@ int dynax_state::debug_viewer(bitmap_ind16 &bitmap, const rectangle &cliprect ) if (machine().input().code_pressed_once(KEYCODE_R)) { r = (r + 1) & 0x7; i = size / 8 * r; } if (machine().input().code_pressed(KEYCODE_M) | machine().input().code_pressed_once(KEYCODE_K)) { - while (i < size && RAM[i]) i++; while (i < size && !RAM[i]) i++; + while (i < size && RAM[i]) i++; + while (i < size && !RAM[i]) i++; } if (machine().input().code_pressed(KEYCODE_N) | machine().input().code_pressed_once(KEYCODE_J)) { - if (i >= 2) i -= 2; while (i > 0 && RAM[i]) i--; i++; + if (i >= 2) i -= 2; + while (i > 0 && RAM[i]) i--; + i++; } m_blit_palettes = (c & 0xf) * 0x111; |