From b5eb1083934faaddf9a5105e3cc8fd04b9750d27 Mon Sep 17 00:00:00 2001 From: Aurora Date: Thu, 24 Mar 2016 00:11:02 +0100 Subject: [PATCH] Increased the screen-init brightness --- Makefile | 8 +++++++- source/screeninit.c | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index b03ce2d..f30f19b 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ objects_cfw = $(patsubst $(dir_source)/%.s, $(dir_build)/%.o, \ all: launcher a9lh ninjhax .PHONY: launcher -launcher: $(dir_out)/$(name).dat +launcher: $(dir_out)/$(name).dat .PHONY: a9lh a9lh: $(dir_out)/arm9loaderhax.bin @@ -36,6 +36,9 @@ a9lh: $(dir_out)/arm9loaderhax.bin .PHONY: ninjhax ninjhax: $(dir_out)/3ds/$(name) +.PHONY: release +release: $(dir_out)/$(name).zip + .PHONY: clean clean: @$(MAKE) $(FLAGS) -C $(dir_mset) clean @@ -59,6 +62,9 @@ $(dir_out)/3ds/$(name): $(dir_out) @mv $(dir_out)/$(name).3dsx $@ @mv $(dir_out)/$(name).smdh $@ +$(dir_out)/$(name).zip: launcher a9lh ninjhax + @cd $(dir_out) && zip -9 -r $(name) * + $(dir_build)/patches.h: $(dir_patches)/emunand.s $(dir_patches)/reboot.s @mkdir -p "$(dir_build)" @armips $< diff --git a/source/screeninit.c b/source/screeninit.c index 6f8ff2d..7b438f0 100644 --- a/source/screeninit.c +++ b/source/screeninit.c @@ -46,8 +46,8 @@ void initScreens(void){ *(vu32 *)0x10141200 = 0x1007F; *(vu32 *)0x10202014 = 0x00000001; *(vu32 *)0x1020200C &= 0xFFFEFFFE; - *(vu32 *)0x10202240 = 0x39; - *(vu32 *)0x10202A40 = 0x39; + *(vu32 *)0x10202240 = 0x45; + *(vu32 *)0x10202A40 = 0x45; *(vu32 *)0x10202244 = 0x1023E; *(vu32 *)0x10202A44 = 0x1023E;