Skip to content

Commit

Permalink
Fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketRobz committed Nov 2, 2024
1 parent 1241805 commit e8ea50f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion booter/arm9/source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ int main(int argc, char **argv) {
vector<char *> argarray;
argarray.push_back((char*)srldrPath);

int err = runNdsFile(argarray[0], argarray.size(), (const char**)&argarray[0], true, false, false, true, true, false, -1);
int err = runNdsFile(argarray[0], argarray.size(), (const char**)&argarray[0], true, true, false, false, true, true, false, -1);
bool twlmFound = (access("sd:/_nds/TWiLightMenu", F_OK) == 0);

waitBeforeFade = false;
Expand Down
2 changes: 1 addition & 1 deletion booter/bootloader/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ CFLAGS := -g -Wall -O2 \

CFLAGS += $(INCLUDE) $(EXTRA_CFLAGS) -DARM7 -DNO_DLDI

ASFLAGS := -g $(ARCH) -flto $(EXTRA_CFLAGS) $(INCLUDE)
ASFLAGS := -g $(ARCH) -flto $(EXTRA_CFLAGS) $(INCLUDE) -DNO_DLDI
LDFLAGS = -nostartfiles -T $(TOPDIR)/load.ld -g $(ARCH) -Wl,-Map,$(TARGET).map

LIBS :=
Expand Down
2 changes: 1 addition & 1 deletion booter/bootloader/load.ld
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ENTRY(_start)

MEMORY {

vram : ORIGIN = 0x06000000, LENGTH = 128K
vram : ORIGIN = 0x06008000, LENGTH = 128K - 32K
}

__vram_start = ORIGIN(vram);
Expand Down

0 comments on commit e8ea50f

Please sign in to comment.