diff --git a/Makefile.wiiu b/Makefile.wiiu index eed5d36cc..ca831b966 100644 --- a/Makefile.wiiu +++ b/Makefile.wiiu @@ -22,7 +22,7 @@ SOURCES = \ src/power/*.c \ src/filesystem/dummy/*.c \ src/render/*.c \ - src/render/software/*.c \ + src/render/wiiu/*.c \ src/stdlib/*.c \ src/thread/*.c \ src/thread/wiiu/*.c \ @@ -67,4 +67,4 @@ clean: include $(WUT_ROOT)/share/wut.mk LDFLAGS += -L$(DEVKITPRO)/portlibs/ppc/lib CFLAGS += -I$(DEVKITPRO)/portlibs/ppc/include -CXXFLAGS += -I$(DEVKITPRO)/portlibs/ppc/include \ No newline at end of file +CXXFLAGS += -I$(DEVKITPRO)/portlibs/ppc/include diff --git a/include/SDL_config_wiiu.h b/include/SDL_config_wiiu.h index 3acb693cf..d98f65188 100644 --- a/include/SDL_config_wiiu.h +++ b/include/SDL_config_wiiu.h @@ -142,6 +142,9 @@ /* Wii U video dirver */ #define SDL_VIDEO_DRIVER_WIIU 1 +/* Wii U render driver (src/render/wiiu/*.c) */ +#define SDL_VIDEO_RENDER_WIIU 1 + /* There's no battery for the console unit */ #define SDL_POWER_DISABLED 1 @@ -155,7 +158,7 @@ #define SDL_LOADSO_DISABLED 1 /* Hack: for some reason some arch defines are missing in the - toolchain, so SDL_endian.h will think we're little endian + toolchain, so SDL_endian.h will think we're little endian without that */ #define SDL_BYTEORDER SDL_BIG_ENDIAN