#define ES_EALIGN -0x1101

This commit is contained in:
thepikachugamer 2023-09-23 15:14:46 -05:00 committed by GitHub
parent 8b7e126911
commit dc64817595
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -1143,16 +1143,18 @@ s32 Wad_Uninstall(FILE *fp)
/* Delete tickets */
if (ret >= 0) {
u32 cnt;
tikview view ATTRIBUTE_ALIGN(0x20) = {};
/* Delete all tickets */
for (cnt = 0; cnt < viewCnt; cnt++) {
ret = ES_DeleteTicket(&viewData[cnt]);
memcpy(&view, viewData + i, sizeof(tikview));
ret = ES_DeleteTicket(&view);
if (ret < 0)
break;
}
if (ret < 0)
printf(" ERROR! (ret = %d\n", ret);
printf(" ERROR! (ret = %d)\n", ret);
else
printf(" OK!\n");
}