mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-10 17:55:47 -04:00
CDROM: Clear response FIFO before writing results
This commit is contained in:
@ -580,6 +580,12 @@ void CDROM::ExecuteCommand()
|
||||
{
|
||||
Log_DevPrintf("CDROM executing command 0x%02X", ZeroExtend32(static_cast<u8>(m_command)));
|
||||
|
||||
if (!m_response_fifo.IsEmpty())
|
||||
{
|
||||
Log_DebugPrintf("Response FIFO not empty on command begin");
|
||||
m_response_fifo.Clear();
|
||||
}
|
||||
|
||||
switch (m_command)
|
||||
{
|
||||
case Command::Getstat:
|
||||
|
Reference in New Issue
Block a user