From 94af698aa6d79a45a09be0e8159f0ea68930f830 Mon Sep 17 00:00:00 2001 From: shygoo Date: Tue, 19 May 2020 11:40:53 -0500 Subject: [PATCH] [Debugger] Fix COpInfo::IsLoadCommand false positives --- Source/Project64/UserInterface/Debugger/OpInfo.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Project64/UserInterface/Debugger/OpInfo.h b/Source/Project64/UserInterface/Debugger/OpInfo.h index 038709cd8..22f17b4b4 100644 --- a/Source/Project64/UserInterface/Debugger/OpInfo.h +++ b/Source/Project64/UserInterface/Debugger/OpInfo.h @@ -147,7 +147,8 @@ public: inline bool IsLoadCommand() { - return (m_OpCode.op <= R4300i_LWU || (m_OpCode.op >= R4300i_LL && m_OpCode.op <= R4300i_LD)); + return (m_OpCode.op >= R4300i_LDL && m_OpCode.op <= R4300i_LWU || + m_OpCode.op >= R4300i_LL && m_OpCode.op <= R4300i_LD); } inline bool IsStoreCommand()