From 22922929564717b0c3b4dd3bc263252c5e58e089 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sun, 29 Mar 2020 01:14:58 +1000 Subject: [PATCH] CDROM: Set mode to read raw sectors after reset Fixes "This is Football 2", possibly others. --- src/core/cdrom.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/cdrom.cpp b/src/core/cdrom.cpp index 22c5a785e..e250d36dd 100644 --- a/src/core/cdrom.cpp +++ b/src/core/cdrom.cpp @@ -766,9 +766,6 @@ void CDROM::ExecuteCommand() Log_DebugPrintf("CDROM init command"); SendACKAndStat(); - m_secondary_status.ClearActiveBits(); - m_mode.bits = 0; - m_drive_state = DriveState::SpinningUp; m_drive_event->Schedule(80000); @@ -1172,7 +1169,10 @@ void CDROM::DoSpinUpComplete() m_drive_state = DriveState::Idle; m_drive_event->Deactivate(); + m_secondary_status.ClearActiveBits(); m_secondary_status.motor_on = true; + m_mode.bits = 0; + m_mode.read_raw_sector = true; m_async_response_fifo.Clear(); m_async_response_fifo.Push(m_secondary_status.bits);