From 02948f988d41ce99d1aae44e122b4ad8861efb79 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Thu, 14 Jan 2021 01:51:00 +1000 Subject: [PATCH] CDROM: Return 0x00 on response FIFO overread Fixes CyberSled hanging on boot. --- src/core/cdrom.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/cdrom.cpp b/src/core/cdrom.cpp index bc2809577..1a5004a1f 100644 --- a/src/core/cdrom.cpp +++ b/src/core/cdrom.cpp @@ -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();