mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2025-02-17 12:36:20 +01:00
-stopping dvd motor before launching dml
(makes sure dml doesnt init drive on launch)
This commit is contained in:
parent
1ed15e5e30
commit
91f65acfdd
@ -623,6 +623,10 @@ void CMenu::_launchGC(dir_discHdr *hdr, bool DML)
|
|||||||
USBStorage_Deinit();
|
USBStorage_Deinit();
|
||||||
SDHC_Init();
|
SDHC_Init();
|
||||||
|
|
||||||
|
WDVD_Init();
|
||||||
|
WDVD_StopMotor();
|
||||||
|
WDVD_Close();
|
||||||
|
|
||||||
//Tell DML to boot the game from sd card
|
//Tell DML to boot the game from sd card
|
||||||
*(vu32*)0x80001800 = 0xB002D105;
|
*(vu32*)0x80001800 = 0xB002D105;
|
||||||
DCFlushRange((void *)(0x80001800), 4);
|
DCFlushRange((void *)(0x80001800), 4);
|
||||||
@ -647,7 +651,7 @@ void CMenu::_launchGC(dir_discHdr *hdr, bool DML)
|
|||||||
|
|
||||||
*(vu32*)0xCC003024 |= 7;
|
*(vu32*)0xCC003024 |= 7;
|
||||||
|
|
||||||
if(WII_LaunchTitle( 0x100000100LL ) < 0 )
|
if(WII_LaunchTitle(0x100000100LL) < 0 )
|
||||||
Sys_LoadMenu();
|
Sys_LoadMenu();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user