diff --git a/Dockerfile b/Dockerfile index 312a02e..ce3ab5b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,3 @@ -FROM wiiuenv/devkitppc:20211229 - -COPY --from=wiiuenv/libgui:20220109 /artifacts $DEVKITPRO +FROM ghcr.io/wiiu-env/devkitppc:20240704 WORKDIR project \ No newline at end of file diff --git a/Makefile b/Makefile index 42daa5a..18f7144 100644 --- a/Makefile +++ b/Makefile @@ -25,8 +25,11 @@ SOURCES := src \ src/gui \ src/menu \ src/resources \ + src/sounds \ src/system \ - src/utils + src/utils \ + src/video \ + src/video/shaders DATA := data \ data/images \ data/sounds \ @@ -46,7 +49,7 @@ CXXFLAGS := $(CFLAGS) ASFLAGS := -g $(ARCH) LDFLAGS = -g $(ARCH) $(RPXSPECS) -Wl,-Map,$(notdir $*.map) -LIBS := -lgui -lfreetype -lgd -lpng -ljpeg -lz -lmad -lvorbisidec -logg -lbz2 -lwut +LIBS := -lfreetype -lgd -lpng -ljpeg -lz -lmad -lvorbisidec -logg -lbz2 -lwut #------------------------------------------------------------------------------- # list of directories containing libraries, this must be the top level @@ -105,7 +108,7 @@ export LIBPATHS := $(foreach dir,$(LIBDIRS),-L$(dir)/lib) all: $(BUILD) $(BUILD): - @[ -d $@ ] || mkdir -p $@ + @$(shell [ ! -d $(BUILD) ] && mkdir -p $(BUILD)) @$(MAKE) --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile #------------------------------------------------------------------------------- diff --git a/src/Application.cpp b/src/Application.cpp index 3fd94ac..9f47639 100644 --- a/src/Application.cpp +++ b/src/Application.cpp @@ -25,8 +25,8 @@ #include #include #include "resources/Resources.h" -#include -#include +#include +#include "system/memory.h" #include "utils/logger.h" #include "utils/AsyncExecutor.h" #include diff --git a/src/Application.h b/src/Application.h index 248e819..2102f54 100644 --- a/src/Application.h +++ b/src/Application.h @@ -18,7 +18,7 @@ #define _APPLICATION_H #include "menu/MainWindow.h" -#include +#include