diff --git a/wiiurpxtool.cpp b/wiiurpxtool.cpp index 8cf036b..20496aa 100644 --- a/wiiurpxtool.cpp +++ b/wiiurpxtool.cpp @@ -173,6 +173,7 @@ int decompress(FILE *in, FILE *out) fwrite32_BE(shdr_table[i].sh_addralign, out); fwrite32_BE(shdr_table[i].sh_entsize, out); } + fseek(out, crc_data_offset, 0); for (u32 i=0; i