summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorTilka <tilkax@gmail.com>2023-12-13 15:52:32 +0000
committerGitHub <noreply@github.com>2023-12-13 15:52:32 +0000
commitdf922afdbbd0cda452f9db0fbe826e8fd2030454 (patch)
treea45fb77c5ec7cdb3d7245826c29e8bdf99b36c47 /Source/Core
parent52a144745de1b5db3e56574efd7aafaefead45f7 (diff)
parentecd7fa4380aff8b98caa8089182ea9e5816e504e (diff)
Merge pull request #12412 from lioncash/maybe
DSPInterpreter: Mark IsProperlySignExtended() as [[maybe_unused]]
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/DSP/Interpreter/DSPInterpreter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/DSP/Interpreter/DSPInterpreter.cpp b/Source/Core/Core/DSP/Interpreter/DSPInterpreter.cpp
index fab26e4b30..9eb66acc99 100644
--- a/Source/Core/Core/DSP/Interpreter/DSPInterpreter.cpp
+++ b/Source/Core/Core/DSP/Interpreter/DSPInterpreter.cpp
@@ -589,7 +589,7 @@ void Interpreter::UpdateSR16(s16 value, bool carry, bool overflow, bool over_s32
}
}
-static constexpr bool IsProperlySignExtended(u64 val)
+[[maybe_unused]] static constexpr bool IsProperlySignExtended(u64 val)
{
const u64 topbits = val & 0xffff'ff80'0000'0000ULL;
return (topbits == 0) || (0xffff'ff80'0000'0000ULL == topbits);