From 65c81c5e83a91a42e34e067d57e5d7d8dcddbc0c Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Tue, 17 Nov 2020 15:20:31 +0300 Subject: [PATCH] Fix memory viewer for SPU LS --- rpcs3/rpcs3qt/memory_viewer_panel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/rpcs3qt/memory_viewer_panel.cpp b/rpcs3/rpcs3qt/memory_viewer_panel.cpp index 0e969ddbb2..08f12a12ca 100644 --- a/rpcs3/rpcs3qt/memory_viewer_panel.cpp +++ b/rpcs3/rpcs3qt/memory_viewer_panel.cpp @@ -298,7 +298,7 @@ void memory_viewer_panel::ShowMemory() { u32 addr = m_addr + row * m_colcount + col; - if (vm::check_addr(addr)) + if (vm::check_addr(addr, 0)) { const u8 rmem = *vm::get_super_ptr(addr); t_mem_hex_str += qstr(fmt::format("%02x ", rmem)); @@ -342,7 +342,7 @@ void memory_viewer_panel::ShowImage(QWidget* parent, u32 addr, int mode, u32 wid { std::shared_lock rlock(vm::g_mutex); - if (!vm::check_addr(addr, width * height * 4)) + if (!vm::check_addr(addr, 0, width * height * 4)) { return; }