mirror of
https://github.com/modmii/YAWM-ModMii-Edition.git
synced 2024-11-21 15:49:19 +01:00
Fix error -2011
This commit is contained in:
parent
0bd06c124a
commit
f2c91f208e
11
source/wad.c
11
source/wad.c
@ -249,12 +249,13 @@ void __Wad_FixTicket(signed_blob *p_tik)
|
||||
u8 *data = (u8 *)p_tik;
|
||||
u8 *ckey = data + 0x1F1;
|
||||
|
||||
/* Check common key */
|
||||
if (*ckey > 1)
|
||||
if (*ckey > 1) {
|
||||
/* Set common key */
|
||||
*ckey = 0;
|
||||
|
||||
/* Fakesign ticket */
|
||||
Title_FakesignTik(p_tik);
|
||||
|
||||
/* Fakesign ticket */
|
||||
Title_FakesignTik(p_tik);
|
||||
}
|
||||
}
|
||||
|
||||
// Some of the safety checks can block region changing
|
||||
|
Loading…
Reference in New Issue
Block a user