From 3449bd3842990124aa67153c79bb2e9c292c75e8 Mon Sep 17 00:00:00 2001 From: Vincent Lejeune Date: Tue, 13 Oct 2015 13:43:44 +0200 Subject: [PATCH] RSX: Fix debugger disasm. --- rpcs3/Gui/RSXDebugger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Gui/RSXDebugger.cpp b/rpcs3/Gui/RSXDebugger.cpp index 09bcd33be9..9c26f0a39e 100644 --- a/rpcs3/Gui/RSXDebugger.cpp +++ b/rpcs3/Gui/RSXDebugger.cpp @@ -840,7 +840,7 @@ wxString RSXDebugger::DisAsmCommand(u32 cmd, u32 count, u32 currentAddr, u32 ioA auto args = vm::ps3::ptr::make(currentAddr + 4); u32 index = 0; - switch(cmd & 0x3ffff) + switch((cmd & 0x3ffff) >> 2) { case NV406E_SEMAPHORE_OFFSET: DISASM("PFIFO: Semaphore offset 0x%x", (u32)args[0]);