From d3de29c673b6e138c739ec30ebdb2fe026ccf385 Mon Sep 17 00:00:00 2001 From: Pierre Date: Mon, 27 Aug 2012 22:16:08 +0200 Subject: [PATCH] DSPJit: fix bug in DSPJitRegCache::getXReg --- Source/Core/Core/Src/DSP/Jit/DSPJitRegCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/Src/DSP/Jit/DSPJitRegCache.cpp b/Source/Core/Core/Src/DSP/Jit/DSPJitRegCache.cpp index 6397172800..aa12da9d12 100644 --- a/Source/Core/Core/Src/DSP/Jit/DSPJitRegCache.cpp +++ b/Source/Core/Core/Src/DSP/Jit/DSPJitRegCache.cpp @@ -982,7 +982,7 @@ void DSPJitRegCache::getXReg(X64Reg reg) } if (xregs[reg].guest_reg != DSP_REG_NONE) spillXReg(reg); - _assert_msg_(DSPLLE, xregs[reg].guest_reg != DSP_REG_NONE, "register already in use"); + _assert_msg_(DSPLLE, xregs[reg].guest_reg == DSP_REG_NONE, "register already in use"); xregs[reg].guest_reg = DSP_REG_USED; }