diff options
author | hap <happppp@users.noreply.github.com> | 2015-03-12 14:54:25 +0100 |
---|---|---|
committer | hap <happppp@users.noreply.github.com> | 2015-03-12 14:54:25 +0100 |
commit | f1419f6a959d7c49fb09c7b2c428024210827e0c (patch) | |
tree | e373c9dea775f3f6647edca358cdf5fcd776ba6f | |
parent | c307ec2a16393205b2da9539839fefa90b397772 (diff) |
for raw opcode view, don't crop under minbytes
-rw-r--r-- | src/emu/debug/dvdisasm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/debug/dvdisasm.c b/src/emu/debug/dvdisasm.c index 3630ba28f07..7623b0c829a 100644 --- a/src/emu/debug/dvdisasm.c +++ b/src/emu/debug/dvdisasm.c @@ -319,7 +319,7 @@ void debug_view_disasm::generate_bytes(offs_t pcbyte, int numbytes, int minbytes // if we ran out of room, indicate more string[maxchars - 1] = 0; - if (byte < numbytes && maxchars > (char_num*2 -1)) + if (byte < numbytes && byte != minbytes && maxchars > (char_num*2 -1)) string[maxchars - char_num] = string[maxchars - char_num - 1] = string[maxchars - char_num -2] = '.'; } @@ -433,7 +433,7 @@ bool debug_view_disasm::recompute(offs_t pc, int startline, int lines) m_last_direct_raw = source.m_space.direct().raw(); m_last_change_count = source.m_device.debug()->comment_change_count(); - // now longer need to recompute + // no longer need to recompute m_recompute = false; return changed; } |