mirror of
https://github.com/modmii/YAWM-ModMii-Edition.git
synced 2025-02-16 12:59:15 +01:00
IT WORKS
This commit is contained in:
parent
a4b6f965a8
commit
920d7fb295
@ -243,7 +243,7 @@ s32 Sys_GetSharedContents(SharedContent** out, u32* count)
|
||||
|
||||
int ret = 0;
|
||||
u32 size;
|
||||
SharedContent* buf = NANDLoadFile("/shared1/content.map", &size);
|
||||
SharedContent* buf = (SharedContent*)NANDLoadFile("/shared1/content.map", &size);
|
||||
|
||||
if (!buf)
|
||||
return (s32)size;
|
||||
|
@ -6,6 +6,7 @@
|
||||
#include <ogc/es.h>
|
||||
|
||||
#include "sha1.h"
|
||||
#include "aes.h"
|
||||
#include "utils.h"
|
||||
#include "otp.h"
|
||||
#include "malloc.h"
|
||||
@ -341,4 +342,4 @@ void Title_SetupCommonKeys(void)
|
||||
|
||||
keys_ok = true;
|
||||
return;
|
||||
};
|
||||
};
|
||||
|
@ -183,6 +183,8 @@ int main(int argc, char **argv)
|
||||
WKB_Initialize();
|
||||
WIILIGHT_Init();
|
||||
|
||||
Title_SetupCommonKeys();
|
||||
|
||||
/* Print disclaimer */
|
||||
//Disclaimer();
|
||||
|
||||
|
@ -571,7 +571,6 @@ bool __Wad_FixTicket(signed_blob *s_tik)
|
||||
{
|
||||
__attribute__ ((aligned(0x10)))
|
||||
aeskey tkeybuf;
|
||||
aeskey commonkey;
|
||||
u64 iv[2];
|
||||
|
||||
memcpy(tkeybuf, p_tik->cipher_title_key, sizeof(aeskey));
|
||||
|
Loading…
x
Reference in New Issue
Block a user