Various miscelaneous changes (#6496)

This commit is contained in:
Vitor K
2023-05-03 12:24:10 -03:00
committed by GitHub
parent 41f13456c0
commit 34de77d429
74 changed files with 44 additions and 81 deletions

View File

@ -112,6 +112,7 @@ Loader::ResultStatus FileSys::Plugin3GXLoader::Load(
header.targets.count * sizeof(u32))) {
return Loader::ResultStatus::Error;
}
compatible_TID.reserve(header.targets.count); // compatible_TID should be empty right now
for (u32 i = 0; i < u32(header.targets.count); i++) {
compatible_TID.push_back(
u32_le(*reinterpret_cast<u32*>(raw_TID_data.data() + i * sizeof(u32))));