diff --git a/source/id.c b/source/id.c index d3ae1b3..bf31679 100644 --- a/source/id.c +++ b/source/id.c @@ -79,7 +79,7 @@ void zero_sig(signed_blob *sig) { void brute_tmd(tmd *p_tmd) { u16 fill; for(fill=0; fill<65535; fill++) { - p_tmd->fill3=fill; + p_tmd->fill2=fill; sha1 hash; // debug_printf("SHA1(%p, %x, %p)\n", p_tmd, TMD_SIZE(p_tmd), hash); SHA1((u8 *)p_tmd, TMD_SIZE(p_tmd), hash);; diff --git a/source/main.c b/source/main.c index 0a34e36..20683ee 100644 --- a/source/main.c +++ b/source/main.c @@ -222,7 +222,7 @@ int main(int argc, char **argv) { char sysmenu_region; bool needbreak = false; u32 buttons; - Current_Ios = 0; + int Current_Ios = 0; ret = IOS_ReloadIOS(236); if(ret != 0) { diff --git a/source/wiibasics.c b/source/wiibasics.c index 51238e6..f64f132 100644 --- a/source/wiibasics.c +++ b/source/wiibasics.c @@ -174,7 +174,7 @@ void PrintBanner() { ClearScreen(); Console_SetColors(GREEN, 0, WHITE, 2); char text[ConsoleCols]; - snprintf(text, sizeof(text), "Any Region Changer ModMii Edition %.1lf.%i IOS: %i", ARCME_VERSION, ARCME_REV, Current_Ios); + snprintf(text, sizeof(text), "Any Region Changer ModMii Edition %.1lf.%i IOS: %i", ARCME_VERSION, ARCME_REV, IOS_GetVersion()); PrintCenter(text, ConsoleCols); Console_SetColors(BLACK, 0, WHITE, 2); } diff --git a/source/wiibasics.h b/source/wiibasics.h index 63440f9..742be90 100644 --- a/source/wiibasics.h +++ b/source/wiibasics.h @@ -57,8 +57,6 @@ distribution. #define ARCME_VERSION 1.0 #define ARCME_REV 6 -int Current_Ios; - // be functions from segher's wii.git u16 be16(const u8 *p); u32 be32(const u8 *p);