mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-23 11:25:41 -04:00
CDROM: Set mode to read raw sectors after reset
Fixes "This is Football 2", possibly others.
This commit is contained in:
parent
148279e2f2
commit
2292292956
@ -766,9 +766,6 @@ void CDROM::ExecuteCommand()
|
|||||||
Log_DebugPrintf("CDROM init command");
|
Log_DebugPrintf("CDROM init command");
|
||||||
SendACKAndStat();
|
SendACKAndStat();
|
||||||
|
|
||||||
m_secondary_status.ClearActiveBits();
|
|
||||||
m_mode.bits = 0;
|
|
||||||
|
|
||||||
m_drive_state = DriveState::SpinningUp;
|
m_drive_state = DriveState::SpinningUp;
|
||||||
m_drive_event->Schedule(80000);
|
m_drive_event->Schedule(80000);
|
||||||
|
|
||||||
@ -1172,7 +1169,10 @@ void CDROM::DoSpinUpComplete()
|
|||||||
m_drive_state = DriveState::Idle;
|
m_drive_state = DriveState::Idle;
|
||||||
m_drive_event->Deactivate();
|
m_drive_event->Deactivate();
|
||||||
|
|
||||||
|
m_secondary_status.ClearActiveBits();
|
||||||
m_secondary_status.motor_on = true;
|
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.Clear();
|
||||||
m_async_response_fifo.Push(m_secondary_status.bits);
|
m_async_response_fifo.Push(m_secondary_status.bits);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user