CDROM: Fix XA filter change not applying immediately

Fixes audio getting cut off in PaRappa the Rapper - The Hip Hop Hero,
underwater music in R-Type Delta.
This commit is contained in:
Connor McLaughlin 2020-05-13 00:14:17 +10:00
parent d6f6154380
commit 777809b3b0

View file

@ -670,6 +670,7 @@ void CDROM::ExecuteCommand()
Log_DebugPrintf("CDROM setfilter command 0x%02X 0x%02X", ZeroExtend32(file), ZeroExtend32(channel)); Log_DebugPrintf("CDROM setfilter command 0x%02X 0x%02X", ZeroExtend32(file), ZeroExtend32(channel));
m_xa_filter_file_number = file; m_xa_filter_file_number = file;
m_xa_filter_channel_number = channel; m_xa_filter_channel_number = channel;
m_xa_current_set = false;
SendACKAndStat(); SendACKAndStat();
EndCommand(); EndCommand();
return; return;