mirror of
https://github.com/holub/mame
synced 2025-07-04 01:18:59 +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;
|
return;
|
||||||
|
|
||||||
int shift = space->addr_shift();
|
int shift = space->addr_shift();
|
||||||
u64 granularity = shift > 0 ? 2 : 1 << -shift;
|
u64 granularity = shift >= 0 ? 1 : 1 << -shift;
|
||||||
|
|
||||||
/* further validation */
|
/* further validation */
|
||||||
if (width == 0)
|
if (width == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user