Skip to content

Commit

Permalink
Major rebase on code from D9
Browse files Browse the repository at this point in the history
  • Loading branch information
d0k3 committed Oct 21, 2016
1 parent fa783dd commit 4a75095
Show file tree
Hide file tree
Showing 22 changed files with 3,990 additions and 214 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,11 @@ $(OUTPUT).elf : $(OFILES)
#---------------------------------------------------------------------------------
#---------------------------------------------------------------------------------
bottomlogo.bgr.o: bottomlogo.bgr
#---------------------------------------------------------------------------------
@echo $(notdir $<)
@$(bin2o)
#---------------------------------------------------------------------------------
%.hdr.o: %.hdr
#---------------------------------------------------------------------------------
@echo $(notdir $<)
@$(bin2o)
Expand Down
Binary file added data/NCSD_header_n3ds.hdr
Binary file not shown.
Binary file added data/NCSD_header_o3ds.hdr
Binary file not shown.
3 changes: 3 additions & 0 deletions source/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
#define VERSION_NAME "Hourglass9 v1.22"
#define LOG_FILE "Hourglass9.log"

// hacky handling of D9 game dir stuff
#define GetGameDir GetWorkDir

static inline u32 strchrcount(const char* str, char symbol) {
u32 count = 0;
for (u32 i = 0; str[i] != '\0'; i++) {
Expand Down
Loading

0 comments on commit 4a75095

Please sign in to comment.