From: kub Date: Tue, 27 Apr 2021 19:51:44 +0000 (+0200) Subject: libretro, build changes for ngc/wii/wiiu X-Git-Tag: v2.00~538 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0fc3c63baf365fee0520a985c066e7720ae3611;p=picodrive.git libretro, build changes for ngc/wii/wiiu --- diff --git a/Makefile.libretro b/Makefile.libretro index c9898397..d6a0d035 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -253,7 +253,7 @@ else ifeq ($(platform), ngc) TARGET := $(TARGET_NAME)_libretro_$(platform).a CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc$(EXE_EXT) AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT) - CFLAGS += -DGEKKO -DHW_DOL -mrvl -mcpu=750 -meabi -mhard-float -DBLARGG_BIG_ENDIAN=1 -D__ppc__ + CFLAGS += -DGEKKO -DHW_DOL -mrvl -mcpu=750 -meabi -mhard-float -D__ppc__ -DMSB_FIRST STATIC_LINKING = 1 NO_MMAP = 1 @@ -262,7 +262,7 @@ else ifeq ($(platform), wii) TARGET := $(TARGET_NAME)_libretro_$(platform).a CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc$(EXE_EXT) AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT) - CFLAGS += -DGEKKO -DHW_RVL -mrvl -mcpu=750 -meabi -mhard-float -DBLARGG_BIG_ENDIAN=1 -D__ppc__ + CFLAGS += -DGEKKO -DHW_RVL -mrvl -mcpu=750 -meabi -mhard-float -D__ppc__ -DMSB_FIRST STATIC_LINKING = 1 NO_MMAP = 1 @@ -272,10 +272,12 @@ else ifeq ($(platform), wiiu) CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc$(EXE_EXT) CXX = $(DEVKITPPC)/bin/powerpc-eabi-g++$(EXE_EXT) AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT) - CFLAGS += -DGEKKO -DWIIU -DHW_RVL -mwup -mcpu=750 -meabi -mhard-float -D__POWERPC__ -D__ppc__ -DMSB_FIRST -DWORDS_BIGENDIAN=1 - CFLAGS += -I./deps/include/ -U__INT32_TYPE__ -U __UINT32_TYPE__ -D__INT32_TYPE__=int + CFLAGS += -DGEKKO -DWIIU -DHW_RVL -mwup -mcpu=750 -meabi -mhard-float -D__ppc__ -DMSB_FIRST STATIC_LINKING = 1 NO_MMAP = 1 + # Wii U has memory mapped in a way not suitable for DRC + use_sh2drc = 0 + use_svpdrc = 0 # Nintendo Switch (libtransistor) else ifeq ($(platform), switch)