mirror of
https://github.com/holub/mame
synced 2025-04-21 16:01:56 +03:00
Fix ASCII dump output for big-endian spaces
This commit is contained in:
parent
abb48bb5e4
commit
a3f0273748
@ -1987,7 +1987,7 @@ void debugger_commands::execute_dump(int ref, const std::vector<std::string> &pa
|
||||
break;
|
||||
}
|
||||
for (unsigned int b = 0; b != width; b++) {
|
||||
u8 byte = data >> (8 * (be ? (width-i-b) : b));
|
||||
u8 byte = data >> (8 * (be ? (width-1-b) : b));
|
||||
util::stream_format(output, "%c", (byte >= 32 && byte < 127) ? byte : '.');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user