From 044c669f24c4a38006c43126b556d3d8ca1bc65f Mon Sep 17 00:00:00 2001 From: zilmar Date: Sun, 3 Feb 2013 21:05:58 +1100 Subject: [PATCH] Recompipler: Fix D.CMP.UN --- Source/Project64/N64 System/Recompiler/Recompiler Ops.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Project64/N64 System/Recompiler/Recompiler Ops.cpp b/Source/Project64/N64 System/Recompiler/Recompiler Ops.cpp index c6c8345a0..0abf238c3 100644 --- a/Source/Project64/N64 System/Recompiler/Recompiler Ops.cpp +++ b/Source/Project64/N64 System/Recompiler/Recompiler Ops.cpp @@ -5014,7 +5014,7 @@ void CRecompilerOps::COP1_D_CMP (void) { CPU_Message(" %X %s",m_CompilePC,R4300iOpcodeName(m_Opcode.Hex,m_CompilePC)); m_Section->CompileCop1Test(); - if ((m_Opcode.funct & 1) != 0) { CRecompilerOps::UnknownOpcode(); } + if ((m_Opcode.funct & 7) == 0) { CRecompilerOps::UnknownOpcode(); } if ((m_Opcode.funct & 2) != 0) { cmp |= 0x4000; } if ((m_Opcode.funct & 4) != 0) { cmp |= 0x0100; }