Compare commits

...

2 Commits

Author SHA1 Message Date
Naim2000 d11b6381e4 typod IS_WIIU 2024-04-24 18:45:41 -05:00
Naim2000 3ca05bb55d ?? 2024-04-24 18:38:09 -05:00
2 changed files with 1 additions and 4 deletions

View File

@ -29,7 +29,7 @@ typedef struct
} cIOSInfo;
// _Static_assert(sizeof(cIOSInfo) == 0x40, "Incorrect cIOSInfo struct size, do i really need to pack this..?");
#define IS_WIIU (*(vu16*)0xCD005A0 == 0xCAFE)
#define IS_WIIU (*(vu16*)0xCD0005A0 == 0xCAFE)
extern u32 boot2version;

View File

@ -728,9 +728,6 @@ s32 Wad_Install(FILE *fp)
__aligned(0x20)
cIOSInfo build_tag = {};
printf("build_tag@%p\n", &build_tag);
__asm__ volatile ( ".long -1" );
ret = FSOPReadOpenFile(fp, (void*)&build_tag, content0_offset, sizeof(cIOSInfo));
if (ret != 1)
goto err;