mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-30 15:14:18 +01:00
-stopping gamecube game sound before launching it
to save a bit time and may prevent stupid not stopping loading times
This commit is contained in:
parent
c067269f00
commit
7b85928088
@ -630,6 +630,8 @@ extern "C" {extern void USBStorage_Deinit(void);}
|
|||||||
void CMenu::_launchGC(dir_discHdr *hdr, bool DML)
|
void CMenu::_launchGC(dir_discHdr *hdr, bool DML)
|
||||||
{
|
{
|
||||||
Nand::Instance()->Disable_Emu();
|
Nand::Instance()->Disable_Emu();
|
||||||
|
m_gameSound.Stop();
|
||||||
|
CheckGameSoundThread();
|
||||||
char* id = (char *)hdr->hdr.id;
|
char* id = (char *)hdr->hdr.id;
|
||||||
u8 DMLvideoMode = 0;
|
u8 DMLvideoMode = 0;
|
||||||
u8 GClanguage = 0;
|
u8 GClanguage = 0;
|
||||||
@ -721,7 +723,6 @@ void CMenu::_launchGC(dir_discHdr *hdr, bool DML)
|
|||||||
m_gcfg1.save(true);
|
m_gcfg1.save(true);
|
||||||
m_cfg.save(true);
|
m_cfg.save(true);
|
||||||
|
|
||||||
CheckGameSoundThread();
|
|
||||||
cleanup();
|
cleanup();
|
||||||
Close_Inputs();
|
Close_Inputs();
|
||||||
USBStorage_Deinit();
|
USBStorage_Deinit();
|
||||||
|
Loading…
Reference in New Issue
Block a user