mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-26 12:45:42 -04: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())
|
||||
{
|
||||
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…
x
Reference in New Issue
Block a user