CDROM: Replace sound map assert with error log

I am not aware of any games which use it yet, so have no way of testing
if the implementation is correct.
This commit is contained in:
Connor McLaughlin 2020-05-28 03:07:32 +10:00
parent 06621a9547
commit 4e8da3cb41
1 changed files with 7 additions and 2 deletions

View File

@ -325,10 +325,15 @@ void CDROM::WriteRegister(u32 offset, u8 value)
case 2:
{
// TODO: sector buffer is not the data fifo
Log_DebugPrintf("Request register <- 0x%02X", value);
const RequestRegister rr{value};
Assert(!rr.SMEN);
// Sound map is not currently implemented, haven't found anything which uses it.
if (rr.SMEN)
Log_ErrorPrintf("Sound map enable set");
if (rr.BFWR)
Log_ErrorPrintf("Buffer write enable set");
if (rr.BFRD)
{
LoadDataFIFO();