Fixed to work on latest libnx.

main
Nichole Mattera 3 years ago
parent f3e77cffde
commit 1650cc6148
  1. 5
      Makefile
  2. 2
      source/SceneDirector.cpp

@ -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

@ -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