Merge pull request #1752 from shygoo/fix-isloadcmd

[Debugger] Fix COpInfo::IsLoadCommand false positives
This commit is contained in:
zilmar 2020-05-20 06:27:43 +09:30 committed by GitHub
commit 2f8703ebe5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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()