mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-07-04 16:42:14 +02:00
fusee: Incremet offset while reading kip1s
This commit is contained in:
parent
ec164b8606
commit
46f94e8744
@ -108,7 +108,7 @@ export INCLUDE := $(foreach dir,$(INCLUDES),-I$(CURDIR)/$(dir)) \
|
|||||||
export LIBPATHS := $(foreach dir,$(LIBDIRS),-L$(dir)/lib)
|
export LIBPATHS := $(foreach dir,$(LIBDIRS),-L$(dir)/lib)
|
||||||
|
|
||||||
.PHONY: $(BUILD) clean all
|
.PHONY: $(BUILD) clean all
|
||||||
.PHONY: check_exosphere check_thermosphere check_exosphere
|
.PHONY: check_exosphere check_thermosphere check_stratosphere
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
all: $(BUILD)
|
all: $(BUILD)
|
||||||
|
@ -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);
|
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;
|
bool already_loaded = false;
|
||||||
for (uint32_t j = 0; j < merged->num_processes; j++) {
|
for (uint32_t j = 0; j < merged->num_processes; j++) {
|
||||||
if (process_list[j] == current_kip->title_id) {
|
if (process_list[j] == current_kip->title_id) {
|
||||||
|
Loading…
Reference in New Issue
Block a user