diff --git a/main/source/Prompts/prompt_info.cpp b/main/source/Prompts/prompt_info.cpp index ba0da53..c8aea5c 100644 --- a/main/source/Prompts/prompt_info.cpp +++ b/main/source/Prompts/prompt_info.cpp @@ -98,7 +98,7 @@ infoPrompt() char Rev[50]; #ifdef STBOOTVWII sprintf(Rev, "Rev. %i (vWii ST)", SvnRev()); -#elif +#elif VWII sprintf(Rev, "Rev. %i (vWii Full)", SvnRev()); #elif STBOOT sprintf(Rev, "Rev. %i (Wii ST)", SvnRev()); diff --git a/main/source/Tools/load_channel.cpp b/main/source/Tools/load_channel.cpp index d344fc8..715dd97 100644 --- a/main/source/Tools/load_channel.cpp +++ b/main/source/Tools/load_channel.cpp @@ -73,12 +73,15 @@ u8 hbcStubAvailable() int DetectHBF() { u64 *list; - u32 titlecount; - int ret; + u32 titlecount; + int ret; vector TitleID; - TitleID.push_back(0x0001000154484246LL); //THBF -// TitleID.push_back(0x0001000148424630LL); //HBF0 +#if defined(STBOOT) || defined(STBOOTVWII) + TitleID.push_back(0x0001000148424630LL); //HBF0 +#else + TitleID.push_back(0x0001000154484246LL); //THBF +#endif ret = ES_GetNumTitles(&titlecount); if(ret < 0) @@ -87,36 +90,38 @@ int DetectHBF() return 0; } - list = (u64*)memalign(32, titlecount * sizeof(u64) + 32); + list = (u64*)memalign(32, titlecount * sizeof(u64) + 32); ret = ES_GetTitles(list, titlecount); if(ret < 0) { printf("DetectHBF: ES_GetTitles Error\n"); free_pointer(list); return 0; - } + } ret = 0; //lets check for known HBF title id's. - for(u32 i=0; i