mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-19 17:59:16 +01:00
*Forgot something
This commit is contained in:
parent
587fdbbae2
commit
bc8084fe75
@ -1816,6 +1816,9 @@ int MainMenu(int menu)
|
||||
delete cover;
|
||||
delete coverImg;
|
||||
|
||||
ShutdownAudio();
|
||||
StopGX();
|
||||
|
||||
int ret = 0;
|
||||
struct discHdr *header = &gameList[gameSelected];
|
||||
|
||||
@ -1870,6 +1873,9 @@ int MainMenu(int menu)
|
||||
ret = Disc_Open();
|
||||
if(ret < 0) Sys_BackToLoader();
|
||||
|
||||
SDCard_deInit();
|
||||
USBDevice_deInit();
|
||||
|
||||
u8 errorfixer002 = 0;
|
||||
switch(fix002)
|
||||
{
|
||||
@ -1999,13 +2005,6 @@ int MainMenu(int menu)
|
||||
break;
|
||||
}
|
||||
|
||||
ShutdownAudio();
|
||||
StopGX();
|
||||
SDCard_deInit();
|
||||
USBDevice_deInit();
|
||||
USBStorage_Deinit();
|
||||
mload_close();
|
||||
|
||||
ret = Disc_WiiBoot(videoselected, cheat, vipatch, Settings.patchcountrystrings, errorfixer002);
|
||||
if (ret < 0) {
|
||||
Sys_LoadMenu();
|
||||
|
@ -285,8 +285,6 @@ s32 Disc_BootPartition(u64 offset, u8 videoselected, u8 cheat, u8 vipatch, u8 pa
|
||||
WPAD_Disconnect(0);
|
||||
WPAD_Shutdown();
|
||||
|
||||
WDVD_Close();
|
||||
|
||||
/* Shutdown IOS subsystems */
|
||||
SYS_ResetSystem(SYS_SHUTDOWN, 0, 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user