mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 15:49:25 +01:00
Merge pull request #12412 from lioncash/maybe
DSPInterpreter: Mark IsProperlySignExtended() as [[maybe_unused]]
This commit is contained in:
commit
df922afdbb
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user