CDROM: Don't reset audio decoder state on file/channel change

Star Wars Jedi Power Battles sends constant Setfilter commands, while
playing.
This commit is contained in:
Connor McLaughlin 2020-12-18 00:24:28 +10:00
parent d2c98639a8
commit b3edcc5841

View file

@ -2074,7 +2074,6 @@ void CDROM::ProcessXAADPCMSector(const u8* raw_sector, const CDImage::SubChannel
return;
}
ResetAudioDecoder();
m_xa_current_file_number = m_last_sector_subheader.file_number;
m_xa_current_channel_number = m_last_sector_subheader.channel_number;
m_xa_current_set = true;