Merge pull request #10680 from Pokechu22/dsp-int-overflow-comment

DSPInterpreter: Fix typo in isOverflow comment
This commit is contained in:
Mai M 2022-05-19 19:51:47 -04:00 committed by GitHub
commit 8051c21028
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}