Hopefully fixed display problem

git-svn-id: svn://localhost/Users/andi/Downloads/code/trunk@25 eddbe33b-e435-4246-ac25-f5eb65f9a13c
This commit is contained in:
imruon@gmail.com 2010-01-10 21:48:53 +00:00
parent e750450846
commit db8cb52491
3 changed files with 6 additions and 6 deletions

View File

@ -323,7 +323,7 @@ void DumpHash(u8 * hash)
s32 CompareHashes(u8 * hash1, u8 * hash2)
{
printf("\nCalculated SHA1 Hash : "); DumpHash(hash1);
printf("\nCalculated SHA1 Hash: "); DumpHash(hash1);
printf("\nStored SHA1 Hash : "); DumpHash(hash2);
sleep(3);
@ -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");