CDROM: Clear response FIFO before writing results
This commit is contained in:
parent
02132a9f29
commit
487f952c48
|
@ -580,6 +580,12 @@ void CDROM::ExecuteCommand()
|
||||||
{
|
{
|
||||||
Log_DevPrintf("CDROM executing command 0x%02X", ZeroExtend32(static_cast<u8>(m_command)));
|
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)
|
switch (m_command)
|
||||||
{
|
{
|
||||||
case Command::Getstat:
|
case Command::Getstat:
|
||||||
|
|
Loading…
Reference in New Issue