Hopefully fixed display problem

This commit is contained in:
imruon 2010-01-10 21:48:53 +00:00
parent d562343b3a
commit 747f819c4c
3 changed files with 6 additions and 6 deletions

View File

@ -323,8 +323,8 @@ void DumpHash(u8 * hash)
s32 CompareHashes(u8 * hash1, u8 * hash2)
{
printf("\nCalculated SHA1 Hash : "); DumpHash(hash1);
printf("\nStored SHA1 Hash : "); DumpHash(hash2);
printf("\nCalculated SHA1 Hash: "); DumpHash(hash1);
printf("\nStored SHA1 Hash : "); DumpHash(hash2);
sleep(3);
if (memcmp(hash1, hash2, 20)==0)
@ -353,16 +353,16 @@ s32 Wad_InstallFromMemory()
{
/* Check integrity of the wad file using SHA */
/* 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...");
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);
return __Wad_Install();
} 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...");
}
}

View File

@ -11,7 +11,7 @@ namespace Helpers
{
public static MemoryStream CreateInstaller(string wadFile, byte iosToUse)
{
const int injectionPosition = 0x5A78C;
const int injectionPosition = 0x5A74C;
//1. Open the stub installer from resources
MemoryStream compressedStubInstallerStream = LoadCompressedStubInstaller("CustomizeMiiInstaller.dol.z");