From 46de99a0daec18d87ceeb0c15302ceadaf37615a Mon Sep 17 00:00:00 2001 From: saulfabreg Wii VC Project Date: Fri, 18 Aug 2023 14:12:25 -0500 Subject: [PATCH 1/2] Fix Wii & Wii U builds (Ploggy) Since Wii and Wii U are both big-endian systems, we need to call in the Makefile for Libretro cores that these must use big endian code for be able to work, otherwise the emulation will just give a white screen. Fix by Ploggy, many thanks to him. --- src/libretro/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libretro/Makefile b/src/libretro/Makefile index bb67a911..9dc70b52 100644 --- a/src/libretro/Makefile +++ b/src/libretro/Makefile @@ -298,7 +298,7 @@ else ifeq ($(platform), wii) CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc$(EXE_EXT) CXX = $(DEVKITPPC)/bin/powerpc-eabi-g++$(EXE_EXT) AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT) - ENDIANNESS_DEFINES += -DMSB_FIRST + ENDIANNESS_DEFINES += -DMSB_FIRST -DWORDS_BIGENDIAN=1 PLATFORM_DEFINES += -DGEKKO -DHW_RVL -mrvl -mcpu=750 -meabi -mhard-float -D__ppc__ PLATFORM_DEFINES += -U__INT32_TYPE__ -U __UINT32_TYPE__ -D__INT32_TYPE__=int STATIC_LINKING=1 @@ -310,7 +310,7 @@ 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) - ENDIANNESS_DEFINES += -DMSB_FIRST + ENDIANNESS_DEFINES += -DMSB_FIRST -DWORDS_BIGENDIAN=1 PLATFORM_DEFINES += -DGEKKO -DWIIU -DHW_RVL -mwup -mcpu=750 -meabi -mhard-float -D__ppc__ PLATFORM_DEFINES += -U__INT32_TYPE__ -U __UINT32_TYPE__ -D__INT32_TYPE__=int STATIC_LINKING=1 From f7d43707899400e0b7103724d4a16d4170e23dd1 Mon Sep 17 00:00:00 2001 From: saulfabreg Wii VC Project Date: Fri, 18 Aug 2023 14:17:16 -0500 Subject: [PATCH 2/2] Add VBA-M to Wii/Wii U nightly buildbot. --- .gitlab-ci.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 89a8c21c..8370ccd2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -56,7 +56,15 @@ include: # PlayStation Vita - project: 'libretro-infrastructure/ci-templates' file: '/vita-static.yml' - + + # Nintendo Wii + - project: 'libretro-infrastructure/ci-templates' + file: '/wii-static.yml' + + # Nintendo WiiU + - project: 'libretro-infrastructure/ci-templates' + file: '/wiiu-static.yml' + # Nintendo Switch - project: 'libretro-infrastructure/ci-templates' file: '/libnx-static.yml' @@ -164,6 +172,18 @@ libretro-build-vita: - .libretro-vita-static-retroarch-master - .core-defs +# Nintendo Wii +libretro-build-wii: + extends: + - .libretro-wii-static-retroarch-master + - .core-defs + +# Nintendo WiiU +libretro-build-wiiu: + extends: + - .libretro-wiiu-static-retroarch-master + - .core-defs + # Nintendo Switch libretro-build-libnx-aarch64: extends: