-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:
fix94.1 2012-03-11 16:04:33 +00:00
parent c067269f00
commit 7b85928088

View File

@ -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();