diff --git a/Makefile b/Makefile index ea18395..35f86bf 100644 --- a/Makefile +++ b/Makefile @@ -111,7 +111,7 @@ export INCLUDE := $(foreach dir,$(INCLUDES),-I$(CURDIR)/$(dir)) \ export LIBPATHS := $(foreach dir,$(LIBDIRS),-L$(dir)/lib) -.PHONY: common clean all gateway a9lh cakehax cakerop brahma release +.PHONY: common clean all gateway binary cakehax cakerop brahma release #--------------------------------------------------------------------------------- all: binary @@ -137,7 +137,7 @@ cakerop: cakehax @make DATNAME=$(TARGET).dat DISPNAME=$(TARGET) GRAPHICS=../resources/CakesROP -C CakesROP @mv CakesROP/CakesROP.nds $(OUTPUT_D)/$(TARGET).nds -brahma: submodules a9lh +brahma: submodules binary @[ -d BrahmaLoader/data ] || mkdir -p BrahmaLoader/data @cp $(OUTPUT).bin BrahmaLoader/data/payload.bin @cp resources/BrahmaAppInfo BrahmaLoader/resources/AppInfo diff --git a/source/godmode.c b/source/godmode.c index cd40515..b8f73df 100644 --- a/source/godmode.c +++ b/source/godmode.c @@ -1018,6 +1018,7 @@ u32 FileHandlerMenu(char* current_path, u32* cursor, u32* scroll, DirStruct* cur bool success = (required && (EmbedEssentialBackup(curr_entry->path) == 0)); ShowPrompt(false, "%s\nBackup update: %s", pathstr, (!required) ? "not required" : (success) ? "completed" : "failed!"); + GetDirContents(current_dir, current_path); return 0; } else if ((user_select == launch)) { size_t payload_size = FileGetSize(curr_entry->path); diff --git a/source/virtual/vmem.c b/source/virtual/vmem.c index 80705ee..5a2b6d3 100644 --- a/source/virtual/vmem.c +++ b/source/virtual/vmem.c @@ -17,9 +17,7 @@ static const VirtualFile vMemFileTemplates[] = { // { "otp.mem" , 0x10012000, 0x00000108, 0xFF, 0 }, { "bootrom.mem" , 0xFFFF0000, 0x00010000, 0xFF, 0 }, { "bootrom_unp.mem" , 0xFFFF0000, 0x00008000, 0xFF, 0 }, - #ifdef EXEC_A9LH { "godmode9.bin" , 0x23F00000, 0x00040000, 0xFF, 0 } // arbitrary size - #endif }; bool ReadVMemDir(VirtualFile* vfile, VirtualDir* vdir) { // uses a generic vdir object generated in virtual.c