mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
Allow debugger dump command to dump with byte granularity from address spaces with positive shifts
This commit is contained in:
parent
3de888a0c7
commit
c66eaf096e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user