-fixed covers were not refreshing bug introduced in r134

(issue 7 is back again, I was sure it worked)
This commit is contained in:
fix94.1 2012-02-17 22:46:36 +00:00
parent ff0e302043
commit bb9dbea535

View File

@ -336,6 +336,7 @@ void CMenu::_game(bool launch)
if (BTN_HOME_PRESSED || BTN_B_PRESSED) if (BTN_HOME_PRESSED || BTN_B_PRESSED)
{ {
m_gameSound.Stop(); m_gameSound.Stop();
CheckGameSoundThread();
break; break;
} }
else if (BTN_PLUS_PRESSED && m_GameTDBLoaded) else if (BTN_PLUS_PRESSED && m_GameTDBLoaded)
@ -398,6 +399,7 @@ void CMenu::_game(bool launch)
if (_wbfsOp(CMenu::WO_REMOVE_GAME)) if (_wbfsOp(CMenu::WO_REMOVE_GAME))
{ {
m_gameSound.Stop(); m_gameSound.Stop();
CheckGameSoundThread();
break; break;
} }
_showGame(); _showGame();
@ -410,6 +412,7 @@ void CMenu::_game(bool launch)
else if (m_btnMgr.selected(m_gameBtnBack)) else if (m_btnMgr.selected(m_gameBtnBack))
{ {
m_gameSound.Stop(); m_gameSound.Stop();
CheckGameSoundThread();
break; break;
} }
else if (m_btnMgr.selected(m_gameBtnSettings)) else if (m_btnMgr.selected(m_gameBtnSettings))
@ -850,6 +853,7 @@ void CMenu::_launchChannel(dir_discHdr *hdr)
IOS_Close(ESHandle); IOS_Close(ESHandle);
} }
CheckGameSoundThread();
cleanup(); cleanup();
Close_Inputs(); Close_Inputs();
USBStorage_Deinit(); USBStorage_Deinit();
@ -979,6 +983,7 @@ void CMenu::_launchGame(dir_discHdr *hdr, bool dvd)
u32 cheatSize = 0, gameconfigSize = 0; u32 cheatSize = 0, gameconfigSize = 0;
bool iosLoaded = false; bool iosLoaded = false;
CheckGameSoundThread();
if (videoMode == 0) videoMode = (u8)min((u32)m_cfg.getInt("GENERAL", "video_mode", 0), ARRAY_SIZE(CMenu::_videoModes) - 1); if (videoMode == 0) videoMode = (u8)min((u32)m_cfg.getInt("GENERAL", "video_mode", 0), ARRAY_SIZE(CMenu::_videoModes) - 1);
if (language == 0) language = min((u32)m_cfg.getInt("GENERAL", "game_language", 0), ARRAY_SIZE(CMenu::_languages) - 1); if (language == 0) language = min((u32)m_cfg.getInt("GENERAL", "game_language", 0), ARRAY_SIZE(CMenu::_languages) - 1);
m_cfg.setString("GAMES", "current_item", id); m_cfg.setString("GAMES", "current_item", id);