mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 05:32:47 +00:00
Some minor improvements
o Reload current dir after updating embedded backup o Payload is now available in mem for GW entyrpoint, too o Fix building .3DSX file
This commit is contained in:
parent
d0c4e11bad
commit
fe62480cd3
4
Makefile
4
Makefile
@ -111,7 +111,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: common clean all gateway a9lh cakehax cakerop brahma release
|
.PHONY: common clean all gateway binary cakehax cakerop brahma release
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
all: binary
|
all: binary
|
||||||
@ -137,7 +137,7 @@ cakerop: cakehax
|
|||||||
@make DATNAME=$(TARGET).dat DISPNAME=$(TARGET) GRAPHICS=../resources/CakesROP -C CakesROP
|
@make DATNAME=$(TARGET).dat DISPNAME=$(TARGET) GRAPHICS=../resources/CakesROP -C CakesROP
|
||||||
@mv CakesROP/CakesROP.nds $(OUTPUT_D)/$(TARGET).nds
|
@mv CakesROP/CakesROP.nds $(OUTPUT_D)/$(TARGET).nds
|
||||||
|
|
||||||
brahma: submodules a9lh
|
brahma: submodules binary
|
||||||
@[ -d BrahmaLoader/data ] || mkdir -p BrahmaLoader/data
|
@[ -d BrahmaLoader/data ] || mkdir -p BrahmaLoader/data
|
||||||
@cp $(OUTPUT).bin BrahmaLoader/data/payload.bin
|
@cp $(OUTPUT).bin BrahmaLoader/data/payload.bin
|
||||||
@cp resources/BrahmaAppInfo BrahmaLoader/resources/AppInfo
|
@cp resources/BrahmaAppInfo BrahmaLoader/resources/AppInfo
|
||||||
|
@ -1018,6 +1018,7 @@ u32 FileHandlerMenu(char* current_path, u32* cursor, u32* scroll, DirStruct* cur
|
|||||||
bool success = (required && (EmbedEssentialBackup(curr_entry->path) == 0));
|
bool success = (required && (EmbedEssentialBackup(curr_entry->path) == 0));
|
||||||
ShowPrompt(false, "%s\nBackup update: %s", pathstr, (!required) ? "not required" :
|
ShowPrompt(false, "%s\nBackup update: %s", pathstr, (!required) ? "not required" :
|
||||||
(success) ? "completed" : "failed!");
|
(success) ? "completed" : "failed!");
|
||||||
|
GetDirContents(current_dir, current_path);
|
||||||
return 0;
|
return 0;
|
||||||
} else if ((user_select == launch)) {
|
} else if ((user_select == launch)) {
|
||||||
size_t payload_size = FileGetSize(curr_entry->path);
|
size_t payload_size = FileGetSize(curr_entry->path);
|
||||||
|
@ -17,9 +17,7 @@ static const VirtualFile vMemFileTemplates[] = {
|
|||||||
// { "otp.mem" , 0x10012000, 0x00000108, 0xFF, 0 },
|
// { "otp.mem" , 0x10012000, 0x00000108, 0xFF, 0 },
|
||||||
{ "bootrom.mem" , 0xFFFF0000, 0x00010000, 0xFF, 0 },
|
{ "bootrom.mem" , 0xFFFF0000, 0x00010000, 0xFF, 0 },
|
||||||
{ "bootrom_unp.mem" , 0xFFFF0000, 0x00008000, 0xFF, 0 },
|
{ "bootrom_unp.mem" , 0xFFFF0000, 0x00008000, 0xFF, 0 },
|
||||||
#ifdef EXEC_A9LH
|
|
||||||
{ "godmode9.bin" , 0x23F00000, 0x00040000, 0xFF, 0 } // arbitrary size
|
{ "godmode9.bin" , 0x23F00000, 0x00040000, 0xFF, 0 } // arbitrary size
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
bool ReadVMemDir(VirtualFile* vfile, VirtualDir* vdir) { // uses a generic vdir object generated in virtual.c
|
bool ReadVMemDir(VirtualFile* vfile, VirtualDir* vdir) { // uses a generic vdir object generated in virtual.c
|
||||||
|
Loading…
x
Reference in New Issue
Block a user