Merge pull request #12412 from lioncash/maybe

DSPInterpreter: Mark IsProperlySignExtended() as [[maybe_unused]]
This commit is contained in:
Tilka 2023-12-13 15:52:32 +00:00 committed by GitHub
commit df922afdbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);