CDROM: Return 0x00 on response FIFO overread

Fixes CyberSled hanging on boot.
This commit is contained in:
Connor McLaughlin 2021-01-14 01:51:00 +10:00
parent ffa3744b3b
commit 02948f988d

View file

@ -353,8 +353,8 @@ u8 CDROM::ReadRegister(u32 offset)
{
if (m_response_fifo.IsEmpty())
{
Log_DebugPrintf("Response FIFO empty on read");
return 0xFF;
Log_DevPrint("Response FIFO empty on read");
return 0x00;
}
const u8 value = m_response_fifo.Pop();