Add -Wno-interference-size flag for GNUC

This commit is contained in:
wheremyfoodat 2024-07-21 18:29:39 +03:00
parent a6e3d41628
commit 9bd711958b
3 changed files with 7 additions and 6 deletions

View file

@ -25,7 +25,6 @@ bool NCCH::loadFromHeader(Crypto::AESEngine &aesEngine, IOFile& file, const FSIn
}
codeFile.clear();
saveData.clear();
smdh.clear();
partitionInfo = info;
@ -155,8 +154,7 @@ bool NCCH::loadFromHeader(Crypto::AESEngine &aesEngine, IOFile& file, const FSIn
}
}
const u64 saveDataSize = *(u64*)&exheader[0x1C0 + 0x0]; // Size of save data in bytes
saveData.resize(saveDataSize, 0xff);
saveDataSize = *(u64*)&exheader[0x1C0 + 0x0]; // Size of save data in bytes
compressCode = (exheader[0xD] & 1) != 0;
stackSize = *(u32*)&exheader[0x1C];