mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 23:55:40 +00:00
CDROM: Return 0x00 on response FIFO overread
Fixes CyberSled hanging on boot.
This commit is contained in:
parent
ffa3744b3b
commit
02948f988d
|
@ -353,8 +353,8 @@ u8 CDROM::ReadRegister(u32 offset)
|
||||||
{
|
{
|
||||||
if (m_response_fifo.IsEmpty())
|
if (m_response_fifo.IsEmpty())
|
||||||
{
|
{
|
||||||
Log_DebugPrintf("Response FIFO empty on read");
|
Log_DevPrint("Response FIFO empty on read");
|
||||||
return 0xFF;
|
return 0x00;
|
||||||
}
|
}
|
||||||
|
|
||||||
const u8 value = m_response_fifo.Pop();
|
const u8 value = m_response_fifo.Pop();
|
||||||
|
|
Loading…
Reference in a new issue