CDROM: Return 0x00 on response FIFO overread

Fixes CyberSled hanging on boot.
pull/1463/head
Connor McLaughlin 4 years ago
parent ffa3744b3b
commit 02948f988d

@ -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();

Loading…
Cancel
Save