- fix for custom background images when returning from game info menu.

This commit is contained in:
Fledge68 2019-03-09 18:06:14 -06:00
parent 8ba638346d
commit 8a4662bb2f
4 changed files with 7 additions and 3 deletions

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 MiB

After

Width:  |  Height:  |  Size: 3.3 MiB

View File

@ -6,7 +6,7 @@
#else #else
#define APP_NAME "WiiFlow Lite" #define APP_NAME "WiiFlow Lite"
#endif #endif
#define APP_VERSION "5.2.0" #define APP_VERSION "5.3.0 beta 1"
#define APP_DATA_DIR "wiiflow" #define APP_DATA_DIR "wiiflow"
#ifdef APP_WIIFLOW #ifdef APP_WIIFLOW

View File

@ -551,10 +551,14 @@ void CMenu::_game(bool launch)
/* display game info screen */ /* display game info screen */
else if(BTN_PLUS_PRESSED && hdr->type != TYPE_HOMEBREW && hdr->type != TYPE_SOURCE && !coverFlipped && !m_video_playing) else if(BTN_PLUS_PRESSED && hdr->type != TYPE_HOMEBREW && hdr->type != TYPE_SOURCE && !coverFlipped && !m_video_playing)
{ {
_hideGame();// stops trailer movie too bool faLoaded = m_fa.isLoaded();
_hideGame();// stops trailer movie and unloads fanart
m_banner.SetShowBanner(false); m_banner.SetShowBanner(false);
_gameinfo(); _gameinfo();
_showGame(); if(faLoaded)
_showGame();// reloads fanart
else
_setMainBg();// show custom bg if available
m_banner.SetShowBanner(true); m_banner.SetShowBanner(true);
} }
/* play or stop a trailer video */ /* play or stop a trailer video */