From 07130618408becc249d1da4e5f794882d94d4334 Mon Sep 17 00:00:00 2001 From: "fix94.1" Date: Sun, 1 Jul 2012 21:25:32 +0000 Subject: [PATCH] -if AUTO is selected for IOS selection, it either uses IOS56 or IOS57 as base, because the other d2x cIOS bases got problems to work properly with wiiflow --- source/menu/menu_game.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/menu/menu_game.cpp b/source/menu/menu_game.cpp index b5accb1f..ddc28e86 100644 --- a/source/menu/menu_game.cpp +++ b/source/menu/menu_game.cpp @@ -828,8 +828,7 @@ void CMenu::_launchHomebrew(const char *filepath, vector arguments) int CMenu::_loadIOS(u8 gameIOS, int userIOS, string id) { gprintf("Game ID# %s requested IOS %d. User selected %d\n", id.c_str(), gameIOS, userIOS); - - if (userIOS > 0 && _installed_cios.size() > 0) + if(userIOS) { for(CIOSItr itr = _installed_cios.begin(); itr != _installed_cios.end(); itr++) { @@ -840,6 +839,9 @@ int CMenu::_loadIOS(u8 gameIOS, int userIOS, string id) } } } + else if(gameIOS != 57) + gameIOS = 56; + gprintf("Changed requested IOS to %d.\n", gameIOS); // remap IOS to CIOS if(gameIOS < 0x64)