JGadget binary OK (#1944)

This commit is contained in:
hatal175
2023-09-27 07:45:37 +03:00
committed by GitHub
parent 62b3b2f0ab
commit 673e69386a
2 changed files with 61 additions and 44 deletions
+8
View File
@@ -50,6 +50,14 @@ struct TParse_header_block {
bool parse(const void* ppData_inout, u32 a2) {
return parse_next(&ppData_inout, a2);
}
bool checkNext(const void** ptrLocation, u32* headerEnd, u32 idx) {
bool checkNext = false;
if (parseHeader_next(ptrLocation, headerEnd, idx)) {
checkNext = true;
}
return checkNext;
}
};
template <typename T>