From f22ba886d9233b5369edb3450f7cb09220aaf305 Mon Sep 17 00:00:00 2001 From: TellowKrinkle Date: Sat, 16 Oct 2021 15:50:52 -0500 Subject: [PATCH] Fix unparenthesized macro input --- pcsx2/x86/microVU_Macro.inl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pcsx2/x86/microVU_Macro.inl b/pcsx2/x86/microVU_Macro.inl index 3e061d5321..29cbc5d43d 100644 --- a/pcsx2/x86/microVU_Macro.inl +++ b/pcsx2/x86/microVU_Macro.inl @@ -112,8 +112,9 @@ void endMacroOp(int mode) #define REC_COP2_mVU0(f, opName, mode) \ void recV##f() \ { \ - setupMacroOp(mode, opName); \ - if (mode & 4) \ + int _mode = (mode); \ + setupMacroOp(_mode, opName); \ + if (_mode & 4) \ { \ mVU_##f(microVU0, 0); \ if (!microVU0.prog.IRinfo.info[0].lOp.isNOP) \ @@ -125,7 +126,7 @@ void endMacroOp(int mode) { \ mVU_##f(microVU0, 1); \ } \ - endMacroOp(mode); \ + endMacroOp(_mode); \ } #define INTERPRETATE_COP2_FUNC(f) \