Remove DriveState::DiscChangeDetected hack
Since both GameCube and Wii resets now work correctly, this hack is not needed anymore.
This commit is contained in:
parent
a73eaf5712
commit
0fa96df818
|
@ -855,11 +855,7 @@ void ExecuteCommand(ReplyType reply_type)
|
||||||
|
|
||||||
case 0x40: // Read DiscID
|
case 0x40: // Read DiscID
|
||||||
INFO_LOG(DVDINTERFACE, "Read DiscID: buffer %08x", s_DIMAR);
|
INFO_LOG(DVDINTERFACE, "Read DiscID: buffer %08x", s_DIMAR);
|
||||||
// TODO: It doesn't make sense to include DiscChangeDetected here, as it implies that the
|
if (s_drive_state == DriveState::DiscIdNotRead)
|
||||||
// drive is not spinning and reading the disc ID shouldn't change it. However, the Wii Menu
|
|
||||||
// breaks without it.
|
|
||||||
if (s_drive_state == DriveState::DiscIdNotRead ||
|
|
||||||
s_drive_state == DriveState::DiscChangeDetected)
|
|
||||||
{
|
{
|
||||||
SetDriveState(DriveState::ReadyNoReadsMade);
|
SetDriveState(DriveState::ReadyNoReadsMade);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue