From b5452341528383ed3b8f1b5a1c5fdcc28c4a9183 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Thu, 25 Jan 2024 13:33:41 +1000 Subject: [PATCH] CPU/NewRec/AArch32: Fix double condition --- src/core/cpu_newrec_compiler_aarch32.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/cpu_newrec_compiler_aarch32.cpp b/src/core/cpu_newrec_compiler_aarch32.cpp index b85a41b1a..57a200b06 100644 --- a/src/core/cpu_newrec_compiler_aarch32.cpp +++ b/src/core/cpu_newrec_compiler_aarch32.cpp @@ -81,8 +81,8 @@ void CPU::NewRec::AArch32Compiler::Reset(CodeCache::Block* block, u8* code_buffe { HostRegAlloc& ra = m_host_regs[i]; - if (i == RARG1.GetCode() || i == RARG1.GetCode() || i == RARG2.GetCode() || i == RARG3.GetCode() || - i == RSCRATCH.GetCode() || i == RSTATE.GetCode() || i == membase_idx || i == sp.GetCode() || i == pc.GetCode()) + if (i == RARG1.GetCode() || i == RARG2.GetCode() || i == RARG3.GetCode() || i == RSCRATCH.GetCode() || + i == RSTATE.GetCode() || i == membase_idx || i == sp.GetCode() || i == pc.GetCode()) { continue; }