DSPInterpreter: Mark IsProperlySignExtended() as [[maybe_unused]]

This function is used in debug asserts, so in release builds this will
go unused and otherwise generate a warning
This commit is contained in:
Lioncash 2023-12-12 20:39:01 -05:00
parent 7b57a4a37d
commit ecd7fa4380
1 changed files with 1 additions and 1 deletions

View File

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