CDROM: Implement Getparam command
This commit is contained in:
parent
487f952c48
commit
c3efc5637a
|
@ -909,6 +909,20 @@ void CDROM::ExecuteCommand()
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case Command::Getparam:
|
||||||
|
{
|
||||||
|
Log_DebugPrintf("CDROM Getparam command");
|
||||||
|
|
||||||
|
m_response_fifo.Push(m_secondary_status.bits);
|
||||||
|
m_response_fifo.Push(m_mode.bits);
|
||||||
|
m_response_fifo.Push(0);
|
||||||
|
m_response_fifo.Push(m_filter_file_number);
|
||||||
|
m_response_fifo.Push(m_filter_channel_number);
|
||||||
|
SetInterrupt(Interrupt::ACK);
|
||||||
|
EndCommand();
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
Panic("Unknown command");
|
Panic("Unknown command");
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue