render: Start compiling the wiiu renderer (lotsa errors)

This commit is contained in:
Ash 2018-10-21 19:35:09 +11:00 committed by Ash Logan
parent a1fe555cad
commit 57639657db
2 changed files with 6 additions and 3 deletions

View File

@ -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
CXXFLAGS += -I$(DEVKITPRO)/portlibs/ppc/include

View File

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