package2 verification and ini1 merging fixes (#125)

* fusee: Incremet offset while reading kip1s

* fusee: Pass package2 section data along with the decrypted metadata
This commit is contained in:
Max K
2018-06-04 23:04:44 +02:00
committed by SciresM
parent ec164b8606
commit 6b7da2887f
3 changed files with 7 additions and 6 deletions

View File

@@ -120,6 +120,8 @@ ini1_header_t *stratosphere_merge_inis(ini1_header_t **inis, size_t num_inis) {
fatal_error("INI1s[%zu][%zu] appears not to be a KIP1!\n", i, p);
}
offset += kip1_get_size_from_header(current_kip);
bool already_loaded = false;
for (uint32_t j = 0; j < merged->num_processes; j++) {
if (process_list[j] == current_kip->title_id) {