Fix gitignore removing bin file from arm9/include

* Also commented out exception stub from make file...it doesn't appear
to be used by anything and it won't compile for me presently anyways.
This commit is contained in:
ApacheThunder 2024-10-30 00:08:47 -05:00
parent 3514acacee
commit 20efa561bc
5 changed files with 26 additions and 13 deletions

3
.gitignore vendored
View File

@ -3,13 +3,14 @@
*.NDS
*.nds
*.elf
*.bin
*.bz2
*.dsi
*.cia
*.zip
*.app
BootStrap/arm7/build
BootStrap/arm9/build
BootStrap/*.bin
data
build
hbmenu

View File

@ -25,13 +25,23 @@
#include "nds_loader_arm9.h"
int main( int argc, char **argv) {
void DisplayError(bool fatInitFailed) {
consoleDemoInit();
iprintf("hbmenu bootstrap ...\n");
if (fatInitDefault()) {
runNdsFile("/BOOT.NDS", 0, NULL);
printf("hbmenu bootstrap ...\n\n");
if (fatInitFailed) {
printf("FAT init failed!\n");
} else {
iprintf("FAT init failed!\n");
printf("Load NDS file Error!\n");
}
while(1) swiWaitForVBlank();
}
int main(int argc, char **argv) {
if (fatInitDefault()) {
if (runNdsFile("/BOOT.NDS", 0, NULL) != 0)DisplayError(true);
} else {
DisplayError(false);
}
while(1)swiWaitForVBlank();
}

View File

@ -29,12 +29,14 @@ NITRO_FILES :=
include $(DEVKITARM)/ds_rules
.PHONY: data ndsbootloader bootstub BootStrap exceptionstub clean
# .PHONY: data ndsbootloader bootstub BootStrap exceptionstub clean
.PHONY: data ndsbootloader bootstub BootStrap clean
#---------------------------------------------------------------------------------
# main targets
#---------------------------------------------------------------------------------
all: ndsbootloader bootstub exceptionstub $(TARGET).nds BootStrap
# all: ndsbootloader bootstub exceptionstub $(TARGET).nds BootStrap
all: ndsbootloader bootstub $(TARGET).nds BootStrap
cia:
$(MAKE) -C BootStrap bootstrap.cia
@ -74,8 +76,8 @@ data:
ndsbootloader: data
$(MAKE) -C ndsbootloader LOADBIN=$(CURDIR)/data/load.bin
exceptionstub: data
$(MAKE) -C exception-stub STUBBIN=$(CURDIR)/data/exceptionstub.bin
# exceptionstub: data
# $(MAKE) -C exception-stub STUBBIN=$(CURDIR)/data/exceptionstub.bin
bootstub: data
$(MAKE) -C bootstub
@ -98,7 +100,7 @@ clean:
$(MAKE) -C ndsbootloader clean
$(MAKE) -C bootstub clean
$(MAKE) -C BootStrap clean
$(MAKE) -C exception-stub clean
# $(MAKE) -C exception-stub clean
rm -rf data
rm -rf hbmenu
rm -f $(TARGET).nds

BIN
arm9/include/hbNoIcon.bin Normal file

Binary file not shown.

View File

@ -20,7 +20,7 @@ TARGET := $(shell basename $(CURDIR))
BUILD := build
SOURCES := source
INCLUDES := include ../include
DATA := data
DATA := data
GRAPHICS := gfx
#---------------------------------------------------------------------------------