From e43d697476ebd292e1cffa3699cfd688f976ea11 Mon Sep 17 00:00:00 2001 From: zilmar Date: Fri, 12 Jul 2024 15:01:05 +0930 Subject: [PATCH] RSP: Handle lwu inside IsRegisterConstant --- Source/Project64-rsp-core/Recompiler/RspRecompilerAnalysis.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Project64-rsp-core/Recompiler/RspRecompilerAnalysis.cpp b/Source/Project64-rsp-core/Recompiler/RspRecompilerAnalysis.cpp index 2237b4260..e3f5cac0a 100644 --- a/Source/Project64-rsp-core/Recompiler/RspRecompilerAnalysis.cpp +++ b/Source/Project64-rsp-core/Recompiler/RspRecompilerAnalysis.cpp @@ -1296,6 +1296,7 @@ bool IsRegisterConstant(uint32_t Reg, uint32_t * Constant) case RSP_LW: case RSP_LBU: case RSP_LHU: + case RSP_LWU: if (RspOp.rt == Reg) { return false;