From c66eaf096ea595319c6ee2258ca1e871a6356e66 Mon Sep 17 00:00:00 2001 From: AJR Date: Wed, 17 Jun 2020 09:11:21 -0400 Subject: Allow debugger dump command to dump with byte granularity from address spaces with positive shifts --- src/emu/debug/debugcmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/debug/debugcmd.cpp b/src/emu/debug/debugcmd.cpp index d8e1c985d27..efdd93da307 100644 --- a/src/emu/debug/debugcmd.cpp +++ b/src/emu/debug/debugcmd.cpp @@ -2088,7 +2088,7 @@ void debugger_commands::execute_dump(int ref, const std::vector &pa return; int shift = space->addr_shift(); - u64 granularity = shift > 0 ? 2 : 1 << -shift; + u64 granularity = shift >= 0 ? 1 : 1 << -shift; /* further validation */ if (width == 0) -- cgit v1.2.3