summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2017-12-26 20:32:16 +0000
committer Vas Crabb <vas@vastheman.com>2017-12-27 12:24:25 +1100
commit5a9200e1b6a2fe330cae29fba70ef0db9956eb5f (patch)
tree639f31be554a675e99526eb6cf2cc456a43d17da
parente9c20646efbcf1c1831ab9688635bd2f09840de4 (diff)
remove stutter in dump command ascii bytes (nw)
-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))