summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugcmd.cpp
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2017-12-26 20:32:16 +0000
committer smf- <smf-@users.noreply.github.com>2017-12-26 20:32:54 +0000
commite898042fd7c268c12a338654d092609d968c6275 (patch)
tree58efc6b43596b77515dd3cda3f932712e3874127 /src/emu/debug/debugcmd.cpp
parent29202d2cf1fb4298ccc2b927e9a48a852cd9f652 (diff)
remove stutter in dump command ascii bytes (nw)
Diffstat (limited to 'src/emu/debug/debugcmd.cpp')
-rw-r--r--src/emu/debug/debugcmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/debug/debugcmd.cpp b/src/emu/debug/debugcmd.cpp
index f2e616b780c..c35c9ad2191 100644
--- a/src/emu/debug/debugcmd.cpp
+++ b/src/emu/debug/debugcmd.cpp
@@ -1965,7 +1965,7 @@ void debugger_commands::execute_dump(int ref, const std::vector<std::string> &pa
if (ascii)
{
util::stream_format(output, " ");
- for (u64 j = 0; j < rowsize && (i + j) <= endoffset; j++)
+ for (u64 j = 0; j < rowsize && (i + j) <= endoffset; j += width)
{
offs_t curaddr = i + j;
if (space->device().memory().translate(space->spacenum(), TRANSLATE_READ_DEBUG, curaddr))