From 0552da6be2c9b51b63c81b77a4865e383f43ba85 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Thu, 29 Oct 2020 01:44:44 +1000 Subject: [PATCH] CDROM: Stub out VideoCD command --- src/core/cdrom.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/core/cdrom.cpp b/src/core/cdrom.cpp index 7b3bec192..c88d89db7 100644 --- a/src/core/cdrom.cpp +++ b/src/core/cdrom.cpp @@ -1186,6 +1186,18 @@ void CDROM::ExecuteCommand() } break; + case Command::VideoCD: + { + Log_DebugPrintf("CDROM VideoCD command"); + SendErrorResponse(STAT_ERROR, ERROR_REASON_INVALID_COMMAND); + + // According to nocash this doesn't clear the parameter FIFO. + m_command = Command::None; + m_command_event->Deactivate(); + UpdateStatusRegister(); + } + break; + default: { Log_ErrorPrintf("Unknown CDROM command 0x%04X with %u parameters, please report", static_cast(m_command),