mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-05-28 14:02:53 +00:00
Fix vm::check_addr memory state check
This commit is contained in:
parent
8866a3d6a9
commit
25e47e0de0
3 changed files with 3 additions and 3 deletions
|
@ -541,7 +541,7 @@ bool GDBDebugServer::cmd_read_memory(gdb_cmd & cmd)
|
|||
std::string result;
|
||||
result.reserve(len * 2);
|
||||
for (u32 i = 0; i < len; ++i) {
|
||||
if (vm::check_addr(addr, 1, vm::page_allocated | vm::page_readable)) {
|
||||
if (vm::check_addr(addr)) {
|
||||
result += to_hexbyte(vm::read8(addr + i));
|
||||
} else {
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue