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:
parent
e750450846
commit
db8cb52491
@ -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