From 4a3784d71a6e82cb64983e8ab1e94426b4cf1914 Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Sun, 16 Dec 2012 08:42:13 +0100 Subject: [PATCH] debugging for SelectIos --- main/source/Tools/SelectIos.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/main/source/Tools/SelectIos.cpp b/main/source/Tools/SelectIos.cpp index d567a93..de6cf5f 100644 --- a/main/source/Tools/SelectIos.cpp +++ b/main/source/Tools/SelectIos.cpp @@ -7,6 +7,7 @@ #include #include #include "main.h" +#include "xprintf.h" std::vector ioslist; int selectedIos = IOS_GetVersion(); @@ -240,6 +241,7 @@ int nextIos() selectedIos= ioslist[ios_pos]; } + xprintf("Previous IOS: %d\n", selectedIos); return selectedIos; } int previousIos() @@ -253,6 +255,7 @@ int previousIos() selectedIos= ioslist[ios_pos]; } + xprintf("Next IOS: %d\n", selectedIos); return selectedIos; } @@ -347,10 +350,15 @@ bool listIOS() isStub = false; } + xprintf("testing IOS: %d\n", titleID); + if(!isStub) { if(titleID == 254) + { bootmii = 1; + } + xprintf("added IOS %d to list.\n", titleID); ioslist.push_back(titleID); }