Skip to content

Commit

Permalink
- fixed a potential issue if using the source select icon on main scr…
Browse files Browse the repository at this point in the history
…een with no source menu.
  • Loading branch information
Fledge68 committed Apr 20, 2020
1 parent 1724046 commit 0d9b586
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Binary file modified out/boot.dol
Binary file not shown.
9 changes: 6 additions & 3 deletions source/menu/menu_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -539,9 +539,12 @@ int CMenu::main(void)
m_current_view = show_homebrew ? COVERFLOW_HOMEBREW : COVERFLOW_WII;
else if(m_current_view == COVERFLOW_HOMEBREW || m_source_cnt > 1)
m_current_view = COVERFLOW_WII;
sm_numbers_backup = "0";
sm_tiers_backup = SOURCE_FILENAME;
_restoreSrcTiers();
if(m_use_source)
{
sm_numbers_backup = "0";
sm_tiers_backup = SOURCE_FILENAME;
_restoreSrcTiers();
}
m_source_cnt = 1;
m_cfg.setUInt("GENERAL", "sources", m_current_view);
m_catStartPage = 1;
Expand Down

0 comments on commit 0d9b586

Please sign in to comment.