diff --git a/out/bins/ext_booter.bin b/out/bins/ext_booter.bin index 8b9630ed..ecdc65eb 100644 Binary files a/out/bins/ext_booter.bin and b/out/bins/ext_booter.bin differ diff --git a/out/boot.dol b/out/boot.dol index 5c95017f..97f44d89 100644 Binary files a/out/boot.dol and b/out/boot.dol differ diff --git a/source/defines.h b/source/defines.h index a7d46bee..e79d211f 100644 --- a/source/defines.h +++ b/source/defines.h @@ -1,6 +1,6 @@ #define APP_NAME "WiiFlow WFL" -#define APP_VERSION "5.4.5" +#define APP_VERSION "5.4.6" #define APP_DATA_DIR "wiiflow" #define APPS_DIR "apps/wiiflow" diff --git a/source/menu/menu_config_game.cpp b/source/menu/menu_config_game.cpp index eeb260f5..987206d9 100644 --- a/source/menu/menu_config_game.cpp +++ b/source/menu/menu_config_game.cpp @@ -497,13 +497,17 @@ void CMenu::_showGameSettings() i = min(m_gcfg2.getUInt(id, "aspect_ratio", 0), ARRAY_SIZE(CMenu::_AspectRatio) - 1u); m_btnMgr.setText(m_gameSettingsLblAspectRatioVal, _t(CMenu::_AspectRatio[i].id, CMenu::_AspectRatio[i].text)); + // this getInt() is different than the normal getInt() + // this getInt() will actually set the j variable to the value of the key. hence the & before j. + // this appears to be the only time this getInt() is called of all wiiflow code. + // why they didn't just set int j = m_gcfg2.getInt(id, "ios", 0); i do not know. int j = 0; - if(m_gcfg2.getInt(id, "ios", j) && _installed_cios.size() > 0) + if(m_gcfg2.getInt(id, "ios", &j) && _installed_cios.size() > 0) { CIOSItr itr = _installed_cios.find(j); j = (itr == _installed_cios.end()) ? 0 : itr->first; } - //else j = 0; + else j = 0; if(j > 0) m_btnMgr.setText(m_gameSettingsLblIOS, wfmt(L"%i", j));