diff options
author | 2020-06-17 09:11:21 -0400 | |
---|---|---|
committer | 2020-06-17 09:11:21 -0400 | |
commit | c66eaf096ea595319c6ee2258ca1e871a6356e66 (patch) | |
tree | 04bcfe4b57bcd7bfbfe10d7aa48fcab9c6e5a3db /src/emu/debug/debugcmd.cpp | |
parent | 3de888a0c75d6a4a3601394f5790121862e0b3d1 (diff) |
Allow debugger dump command to dump with byte granularity from address spaces with positive shifts
Diffstat (limited to 'src/emu/debug/debugcmd.cpp')
-rw-r--r-- | src/emu/debug/debugcmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<std::string> &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) |