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