From 151119cece42f2a98f70993df678b3e48405799d Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Thu, 19 May 2022 16:36:39 -0700 Subject: [PATCH] DSPInterpreter: Fix typo in isOverflow comment --- Source/Core/Core/DSP/Interpreter/DSPIntCCUtil.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/DSP/Interpreter/DSPIntCCUtil.h b/Source/Core/Core/DSP/Interpreter/DSPIntCCUtil.h index 3e970cc2ac..20b47edb5e 100644 --- a/Source/Core/Core/DSP/Interpreter/DSPIntCCUtil.h +++ b/Source/Core/Core/DSP/Interpreter/DSPIntCCUtil.h @@ -23,7 +23,7 @@ constexpr bool isCarrySubtract(u64 val, u64 result) constexpr bool isOverflow(s64 val1, s64 val2, s64 res) { - // val1 > 0 and val1 > 0 yet res < 0, or val1 < 0 and val2 < 0 yet res > 0. + // val1 > 0 and val2 > 0 yet res < 0, or val1 < 0 and val2 < 0 yet res > 0. return ((val1 ^ res) & (val2 ^ res)) < 0; }