mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 18:19:49 -06:00
Remove DriveState::DiscChangeDetected hack
Since both GameCube and Wii resets now work correctly, this hack is not needed anymore.
This commit is contained in:
@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user