mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-12-24 19:01:48 +01:00
*little fix for some games
This commit is contained in:
parent
da0cea6c92
commit
44dcbc025f
@ -68,6 +68,10 @@ void ExitApp()
|
|||||||
ShutoffRumble();
|
ShutoffRumble();
|
||||||
StopGX();
|
StopGX();
|
||||||
ShutdownAudio();
|
ShutdownAudio();
|
||||||
|
|
||||||
|
fatUnmount("SD");
|
||||||
|
__io_wiisd.shutdown();
|
||||||
|
|
||||||
//WPAD_Flush(0);
|
//WPAD_Flush(0);
|
||||||
//WPAD_Disconnect(0);
|
//WPAD_Disconnect(0);
|
||||||
//WPAD_Shutdown();
|
//WPAD_Shutdown();
|
||||||
|
@ -4289,8 +4289,7 @@ int MainMenu(int menu)
|
|||||||
delete coverImg;
|
delete coverImg;
|
||||||
|
|
||||||
mainWindow = NULL;
|
mainWindow = NULL;
|
||||||
fatUnmount("SD");
|
|
||||||
__io_wiisd.shutdown();
|
|
||||||
ExitApp();
|
ExitApp();
|
||||||
|
|
||||||
struct discHdr *header = &gameList[gameSelected];
|
struct discHdr *header = &gameList[gameSelected];
|
||||||
|
@ -74,9 +74,6 @@ int Sys_IosReload(int IOS)
|
|||||||
WPAD_SetDataFormat(WPAD_CHAN_ALL,WPAD_FMT_BTNS_ACC_IR);
|
WPAD_SetDataFormat(WPAD_CHAN_ALL,WPAD_FMT_BTNS_ACC_IR);
|
||||||
WPAD_SetVRes(WPAD_CHAN_ALL, screenwidth, screenheight);
|
WPAD_SetVRes(WPAD_CHAN_ALL, screenwidth, screenheight);
|
||||||
|
|
||||||
__io_wiisd.startup();
|
|
||||||
fatMountSimple("SD", &__io_wiisd);
|
|
||||||
|
|
||||||
if(IOS == 249 || IOS == 222) {
|
if(IOS == 249 || IOS == 222) {
|
||||||
ret = WBFS_Init(WBFS_DEVICE_USB);
|
ret = WBFS_Init(WBFS_DEVICE_USB);
|
||||||
ret = Disc_Init();
|
ret = Disc_Init();
|
||||||
|
Loading…
Reference in New Issue
Block a user