CDROM: Remove redundant min()

This commit is contained in:
Stenzek 2025-01-16 21:39:44 +10:00
parent 10de915ae0
commit 804b8ff777
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -3821,7 +3821,7 @@ ALWAYS_INLINE_RELEASE void CDROM::ProcessCDDASector(const u8* raw_sector, const
}
const u8 channel = subq.absolute_second_bcd & 1u;
const s16 peak_volume = std::min<s16>(GetPeakVolume(raw_sector, channel), 32767);
const s16 peak_volume = GetPeakVolume(raw_sector, channel);
const u16 peak_value = (ZeroExtend16(channel) << 15) | peak_volume;
s_state.async_response_fifo.Push(Truncate8(peak_value)); // peak low