From 219c29acbee835f2de50bd99c3e8bab05124eb6a Mon Sep 17 00:00:00 2001 From: "fix94.1" Date: Sun, 19 Aug 2012 10:07:51 +0000 Subject: [PATCH] -fixed bug wiiflow retries to install a gamecube game which is already installed without possibility to stop it -disable full screen banner in plugin and homebrew coverflow (issue 110) --- source/loader/gc_disc_dump.cpp | 9 ++------- source/menu/menu_game.cpp | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/source/loader/gc_disc_dump.cpp b/source/loader/gc_disc_dump.cpp index 2795b311..6263e402 100644 --- a/source/loader/gc_disc_dump.cpp +++ b/source/loader/gc_disc_dump.cpp @@ -330,9 +330,7 @@ s32 GCDump::DumpGame() else { gprintf("Skipping game: %s (Already installed)(%d)\n", gcheader.title, Gamesize[MultiGameDump]); - gc_done += Gamesize[MultiGameDump]; - MultiGameDump++; - continue; + break; } } @@ -418,17 +416,14 @@ s32 GCDump::DumpGame() } if(!Disc) - { snprintf(gamepath, sizeof(gamepath), "%s/%s [%.06s]/game.iso", fmt((strncmp(gamepartition, "sd", 2) != 0) ? usb_dml_game_dir : DML_DIR, gamepartition), gcheader.title, (char *)gcheader.id); - } else { char *ptz = (char *)NULL; ptz = strstr(gamepath, "game.iso"); - if(ptz != NULL) + if(ptz != NULL) strncpy(ptz, "gam1.iso", 8); } - gprintf("Writing %s\n", gamepath); if(compressed) { diff --git a/source/menu/menu_game.cpp b/source/menu/menu_game.cpp index 2c85d393..5356ea64 100644 --- a/source/menu/menu_game.cpp +++ b/source/menu/menu_game.cpp @@ -639,7 +639,7 @@ void CMenu::_game(bool launch) m_banner->DeleteBanner(true); _setBg(m_mainBg, m_mainBgLQ); } - if(m_show_zone_game && !m_zoom_banner) + if(m_show_zone_game && (!m_zoom_banner || NoGameID(m_cf.getHdr()->type)) { bool b = m_gcfg1.getBool("FAVORITES", id, false); m_btnMgr.show(b ? m_gameBtnFavoriteOn : m_gameBtnFavoriteOff);