From 599e2918248da8656bffd2991470eaefa5cf7912 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sun, 20 Nov 2022 13:36:41 +1000 Subject: [PATCH] R5900: Fix disassembling of BC0 instructions --- pcsx2/R5900OpcodeTables.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/R5900OpcodeTables.cpp b/pcsx2/R5900OpcodeTables.cpp index 08c79d1387..356c5e7b07 100644 --- a/pcsx2/R5900OpcodeTables.cpp +++ b/pcsx2/R5900OpcodeTables.cpp @@ -634,7 +634,7 @@ namespace R5900 const OPCODE& Class_MMI3(u32 op) { return tbl_MMI3[(op >> 6) & 0x1F]; } const OPCODE& Class_COP0(u32 op) { return tbl_COP0[(op >> 21) & 0x1F]; } - const OPCODE& Class_COP0_BC0(u32 op) { return tbl_COP0_BC0[(cpuRegs.code >> 16) & 0x03]; } + const OPCODE& Class_COP0_BC0(u32 op) { return tbl_COP0_BC0[(op >> 16) & 0x03]; } const OPCODE& Class_COP0_C0(u32 op) { return tbl_COP0_C0[op & 0x3F]; } const OPCODE& Class_COP1(u32 op) { return tbl_COP1[(op >> 21) & 0x1F]; }