- fix for last commit. using GetTitle instead of GetName.

This commit is contained in:
Fledge68 2019-09-12 16:49:58 -05:00
parent 13e65956fe
commit 6e5c168185
5 changed files with 9 additions and 6 deletions

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 MiB

After

Width:  |  Height:  |  Size: 3.4 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.3.0 beta 6" #define APP_VERSION "5.3.0 beta 7"
#define APP_DATA_DIR "wiiflow" #define APP_DATA_DIR "wiiflow"
#ifdef APP_WIIFLOW #ifdef APP_WIIFLOW

View File

@ -286,7 +286,7 @@ static void Add_Plugin_Game(char *FullPath)
const char *gameTDB_Title = NULL; const char *gameTDB_Title = NULL;
if(gameTDB.IsLoaded() && strlen(CustomTitle) == 0) if(gameTDB.IsLoaded() && strlen(CustomTitle) == 0)
gameTDB.GetName(ListElement.id, gameTDB_Title); gameTDB.GetTitle(ListElement.id, gameTDB_Title);
/* set the roms title */ /* set the roms title */
if(strlen(CustomTitle) > 0) if(strlen(CustomTitle) > 0)

View File

@ -446,7 +446,9 @@ void CMenu::_textGameInfo(void)
} }
// Get title // Get title
if(gametdb.GetTitle(GameID, TMP_Char)) m_btnMgr.setText(m_gameinfoLblTitle, GameHdr->title);
/*if(gametdb.GetTitle(GameID, TMP_Char))
{ {
gameinfo_Title_w.fromUTF8(TMP_Char); gameinfo_Title_w.fromUTF8(TMP_Char);
m_btnMgr.setText(m_gameinfoLblTitle, gameinfo_Title_w); m_btnMgr.setText(m_gameinfoLblTitle, gameinfo_Title_w);
@ -456,7 +458,7 @@ void CMenu::_textGameInfo(void)
tdb_found = false; tdb_found = false;
gametdb.CloseFile();// gameID not found in xml gametdb.CloseFile();// gameID not found in xml
return; return;
} }*/
// Get Synopsis // Get Synopsis
if(gametdb.GetSynopsis(GameID, TMP_Char)) if(gametdb.GetSynopsis(GameID, TMP_Char))
@ -571,11 +573,12 @@ void CMenu::_textGameInfo(void)
strncpy(GameID, CoverFlow.getId(), 6); strncpy(GameID, CoverFlow.getId(), 6);
if(gametdb.GetTitle(GameID, TMP_Char)) m_btnMgr.setText(m_gameinfoLblTitle, GameHdr->title);
/*if(gametdb.GetTitle(GameID, TMP_Char))
{ {
gameinfo_Title_w.fromUTF8(TMP_Char); gameinfo_Title_w.fromUTF8(TMP_Char);
m_btnMgr.setText(m_gameinfoLblTitle, gameinfo_Title_w); m_btnMgr.setText(m_gameinfoLblTitle, gameinfo_Title_w);
} }*/
if(gametdb.GetSynopsis(GameID, TMP_Char)) if(gametdb.GetSynopsis(GameID, TMP_Char))
{ {