mirror of
https://github.com/Brawl345/customizemii.git
synced 2024-12-12 17:32:36 +01:00
Hopefully fixed display problem
This commit is contained in:
parent
d562343b3a
commit
747f819c4c
@ -323,7 +323,7 @@ void DumpHash(u8 * hash)
|
|||||||
s32 CompareHashes(u8 * hash1, u8 * hash2)
|
s32 CompareHashes(u8 * hash1, u8 * hash2)
|
||||||
{
|
{
|
||||||
|
|
||||||
printf("\nCalculated SHA1 Hash : "); DumpHash(hash1);
|
printf("\nCalculated SHA1 Hash: "); DumpHash(hash1);
|
||||||
printf("\nStored SHA1 Hash : "); DumpHash(hash2);
|
printf("\nStored SHA1 Hash : "); DumpHash(hash2);
|
||||||
sleep(3);
|
sleep(3);
|
||||||
|
|
||||||
@ -353,16 +353,16 @@ s32 Wad_InstallFromMemory()
|
|||||||
{
|
{
|
||||||
/* Check integrity of the wad file using SHA */
|
/* Check integrity of the wad file using SHA */
|
||||||
/* SHA digest of the installed wad will be from XX-XX region in the injected data */
|
/* SHA digest of the installed wad will be from XX-XX region in the injected data */
|
||||||
printf("\n\n");
|
printf("\n");
|
||||||
printf("\r\t\t>> Checking integrity of the contents...");
|
printf("\r\t\t>> Checking integrity of the contents...");
|
||||||
if (Wad_EnsureInjectedData())
|
if (Wad_EnsureInjectedData())
|
||||||
{
|
{
|
||||||
printf("\r\t\t>> Wad file integrity check succeeded\n\n");
|
printf("\n\n\t\t>> Wad file integrity check succeeded\n\n");
|
||||||
mopen(install);
|
mopen(install);
|
||||||
return __Wad_Install();
|
return __Wad_Install();
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
printf("\r\t\t>> Wad file integrity check failed! Will not install the wad, possible corruption during transfer...");
|
printf("\n\n\t\t>> Wad file integrity check failed! Will not install the wad, possible corruption during transfer...");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ namespace Helpers
|
|||||||
{
|
{
|
||||||
public static MemoryStream CreateInstaller(string wadFile, byte iosToUse)
|
public static MemoryStream CreateInstaller(string wadFile, byte iosToUse)
|
||||||
{
|
{
|
||||||
const int injectionPosition = 0x5A78C;
|
const int injectionPosition = 0x5A74C;
|
||||||
|
|
||||||
//1. Open the stub installer from resources
|
//1. Open the stub installer from resources
|
||||||
MemoryStream compressedStubInstallerStream = LoadCompressedStubInstaller("CustomizeMiiInstaller.dol.z");
|
MemoryStream compressedStubInstallerStream = LoadCompressedStubInstaller("CustomizeMiiInstaller.dol.z");
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user