mirror of
https://github.com/modmii/Any-Region-Changer-ModMii-Edition.git
synced 2024-11-25 17:46:53 +01:00
Move Current_Ios, change fill3 to fill2
This commit is contained in:
parent
84eb194bce
commit
462f73a66f
@ -79,7 +79,7 @@ void zero_sig(signed_blob *sig) {
|
|||||||
void brute_tmd(tmd *p_tmd) {
|
void brute_tmd(tmd *p_tmd) {
|
||||||
u16 fill;
|
u16 fill;
|
||||||
for(fill=0; fill<65535; fill++) {
|
for(fill=0; fill<65535; fill++) {
|
||||||
p_tmd->fill3=fill;
|
p_tmd->fill2=fill;
|
||||||
sha1 hash;
|
sha1 hash;
|
||||||
// debug_printf("SHA1(%p, %x, %p)\n", p_tmd, TMD_SIZE(p_tmd), hash);
|
// debug_printf("SHA1(%p, %x, %p)\n", p_tmd, TMD_SIZE(p_tmd), hash);
|
||||||
SHA1((u8 *)p_tmd, TMD_SIZE(p_tmd), hash);;
|
SHA1((u8 *)p_tmd, TMD_SIZE(p_tmd), hash);;
|
||||||
|
@ -222,7 +222,7 @@ int main(int argc, char **argv) {
|
|||||||
char sysmenu_region;
|
char sysmenu_region;
|
||||||
bool needbreak = false;
|
bool needbreak = false;
|
||||||
u32 buttons;
|
u32 buttons;
|
||||||
Current_Ios = 0;
|
int Current_Ios = 0;
|
||||||
|
|
||||||
ret = IOS_ReloadIOS(236);
|
ret = IOS_ReloadIOS(236);
|
||||||
if(ret != 0) {
|
if(ret != 0) {
|
||||||
|
@ -174,7 +174,7 @@ void PrintBanner() {
|
|||||||
ClearScreen();
|
ClearScreen();
|
||||||
Console_SetColors(GREEN, 0, WHITE, 2);
|
Console_SetColors(GREEN, 0, WHITE, 2);
|
||||||
char text[ConsoleCols];
|
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);
|
PrintCenter(text, ConsoleCols);
|
||||||
Console_SetColors(BLACK, 0, WHITE, 2);
|
Console_SetColors(BLACK, 0, WHITE, 2);
|
||||||
}
|
}
|
||||||
|
@ -57,8 +57,6 @@ distribution.
|
|||||||
#define ARCME_VERSION 1.0
|
#define ARCME_VERSION 1.0
|
||||||
#define ARCME_REV 6
|
#define ARCME_REV 6
|
||||||
|
|
||||||
int Current_Ios;
|
|
||||||
|
|
||||||
// be functions from segher's wii.git
|
// be functions from segher's wii.git
|
||||||
u16 be16(const u8 *p);
|
u16 be16(const u8 *p);
|
||||||
u32 be32(const u8 *p);
|
u32 be32(const u8 *p);
|
||||||
|
Loading…
Reference in New Issue
Block a user