mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-22 03:09:15 +01:00
Stop the DVD drive after installing a game
This commit is contained in:
parent
201813f6f9
commit
1d582f97c2
@ -967,11 +967,17 @@ int GameBrowseMenu::MainLoop()
|
|||||||
ThreadedTask::Instance()->AddCallback(&HDDSizeCallback);
|
ThreadedTask::Instance()->AddCallback(&HDDSizeCallback);
|
||||||
ThreadedTask::Instance()->Execute();
|
ThreadedTask::Instance()->Execute();
|
||||||
}
|
}
|
||||||
return MenuInstall();
|
int res = MenuInstall();
|
||||||
|
WDVD_StopMotor();
|
||||||
|
return res;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
return MenuInstall();
|
{
|
||||||
|
int res = MenuInstall();
|
||||||
|
WDVD_StopMotor();
|
||||||
|
return res;
|
||||||
|
}
|
||||||
|
|
||||||
this->SetState(STATE_DEFAULT);
|
this->SetState(STATE_DEFAULT);
|
||||||
}
|
}
|
||||||
@ -1623,6 +1629,7 @@ int GameBrowseMenu::OpenClickedGame(struct discHdr *header)
|
|||||||
|
|
||||||
wiilight(0);
|
wiilight(0);
|
||||||
rockout(0);
|
rockout(0);
|
||||||
|
WDVD_StopMotor();
|
||||||
|
|
||||||
SetState(STATE_DEFAULT);
|
SetState(STATE_DEFAULT);
|
||||||
SetAllowDim(true);
|
SetAllowDim(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user