Stop the DVD drive after installing a game

This commit is contained in:
wiidev 2023-01-01 17:00:13 +00:00
parent 201813f6f9
commit 1d582f97c2

View File

@ -967,11 +967,17 @@ int GameBrowseMenu::MainLoop()
ThreadedTask::Instance()->AddCallback(&HDDSizeCallback);
ThreadedTask::Instance()->Execute();
}
return MenuInstall();
int res = MenuInstall();
WDVD_StopMotor();
return res;
}
}
else
return MenuInstall();
{
int res = MenuInstall();
WDVD_StopMotor();
return res;
}
this->SetState(STATE_DEFAULT);
}
@ -1623,6 +1629,7 @@ int GameBrowseMenu::OpenClickedGame(struct discHdr *header)
wiilight(0);
rockout(0);
WDVD_StopMotor();
SetState(STATE_DEFAULT);
SetAllowDim(true);