Browse Source

Fixed to work on latest libnx.

main
Nichole Mattera 5 months ago
parent
commit
1650cc6148
2 changed files with 3 additions and 4 deletions
  1. +2
    -3
      Makefile
  2. +1
    -1
      source/SceneDirector.cpp

+ 2
- 3
Makefile View File

@@ -78,9 +78,8 @@ LDFLAGS = -specs=$(DEVKITPRO)/libnx/switch.specs -g $(ARCH) \
-Wl,-Map,$(notdir $*.map)

LIBS := -lSDL2_ttf -lSDL2_image -lSDL2_gfx -lfreetype -lwebp -lpng -ljpeg \
-ljansson -lSwurl -lcurl -lz -lmbedtls -lmbedcrypto -lmbedx509 \
-lSimpleIniParser -lminizip -lconfig -lnx `sdl2-config --libs` \
`freetype-config --libs`
-ljansson -lSwurl -lcurl -lz -lSimpleIniParser -lminizip -lconfig \
-lnx `sdl2-config --libs` `freetype-config --libs`

#---------------------------------------------------------------------------------
# list of directories containing libraries, this must be the top level containing


+ 1
- 1
source/SceneDirector.cpp View File

@@ -29,7 +29,7 @@ namespace ku {

romfsInit();
setsysInitialize();
plInitialize();
plInitialize(PlServiceType_User);

SDL_Init(SDL_INIT_TIMER | SDL_INIT_VIDEO | SDL_INIT_AUDIO);



Loading…
Cancel
Save