diff --git a/Makefile b/Makefile index 7d394c2..87af122 100644 --- a/Makefile +++ b/Makefile @@ -36,8 +36,8 @@ objects = $(patsubst $(dir_source)/%.s, $(dir_build)/%.o, \ $(patsubst $(dir_source)/%.c, $(dir_build)/%.o, \ $(call rwildcard, $(dir_source), *.s *.c))) -bundled = $(dir_build)/reboot.bin.o $(dir_build)/emunand.bin.o $(dir_build)/svcGetCFWInfo.bin.o $(dir_build)/injector.bin.o $(dir_build)/loader.bin.o \ - $(dir_build)/k11modules.bin.o $(dir_build)/arm9_exceptions.bin.o $(dir_build)/arm11_exceptions.bin.o +bundled = $(dir_build)/reboot.bin.o $(dir_build)/emunand.bin.o $(dir_build)/svcGetCFWInfo.bin.o $(dir_build)/injector.bin.o \ + $(dir_build)/loader.bin.o $(dir_build)/k11modules.bin.o $(dir_build)/arm9_exceptions.bin.o $(dir_build)/arm11_exceptions.bin.o define bin2o bin2s $< | $(AS) -o $(@) @@ -48,17 +48,17 @@ endef .PHONY: all all: a9lh cakebrah menuhax -.PHONY: a9lh -a9lh: $(dir_out)/arm9loaderhax.bin - -.PHONY: cakebrah -cakebrah: $(dir_out)/3ds/$(name) +.PHONY: release +release: $(dir_out)/$(name)$(revision).7z .PHONY: menuhax menuhax: $(dir_out)/menuhax/boot.3dsx -.PHONY: release -release: $(dir_out)/$(name)$(revision).7z +.PHONY: cakebrah +cakebrah: $(dir_out)/3ds/$(name) + +.PHONY: a9lh +a9lh: $(dir_out)/arm9loaderhax.bin .PHONY: clean clean: diff --git a/source/firm.c b/source/firm.c index 10cedbc..34ac415 100755 --- a/source/firm.c +++ b/source/firm.c @@ -488,7 +488,7 @@ static inline void copySection0AndInjectSystemModules(FirmwareType firmType, boo if(fileSize > 0) dstModuleSize = fileSize; else { - const void *module; + const u8 *module; if(firmType == NATIVE_FIRM && memcmp(moduleName, "loader", 6) == 0) {