mirror of
https://github.com/modmii/YAWM-ModMii-Edition.git
synced 2024-06-02 23:48:46 +02:00
Compare commits
3 Commits
d9eaa1c1fb
...
1e7baa10b6
Author | SHA1 | Date | |
---|---|---|---|
|
1e7baa10b6 | ||
|
d11b6381e4 | ||
|
3ca05bb55d |
|
@ -29,7 +29,7 @@ typedef struct
|
||||||
} cIOSInfo;
|
} cIOSInfo;
|
||||||
// _Static_assert(sizeof(cIOSInfo) == 0x40, "Incorrect cIOSInfo struct size, do i really need to pack this..?");
|
// _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;
|
extern u32 boot2version;
|
||||||
|
|
||||||
|
|
|
@ -729,9 +729,6 @@ s32 Wad_Install(FILE *fp)
|
||||||
__aligned(0x20)
|
__aligned(0x20)
|
||||||
cIOSInfo build_tag = {};
|
cIOSInfo build_tag = {};
|
||||||
|
|
||||||
printf("build_tag@%p\n", &build_tag);
|
|
||||||
__asm__ volatile ( ".long -1" );
|
|
||||||
|
|
||||||
ret = FSOPReadOpenFile(fp, (void*)&build_tag, content0_offset, sizeof(cIOSInfo));
|
ret = FSOPReadOpenFile(fp, (void*)&build_tag, content0_offset, sizeof(cIOSInfo));
|
||||||
if (ret != 1)
|
if (ret != 1)
|
||||||
goto err;
|
goto err;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user