Fix error -2011

This commit is contained in:
wiidev 2023-02-16 23:40:01 +00:00
parent 0bd06c124a
commit f2c91f208e

View File

@ -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