Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
retro8
Commits
bcac40de
Commit
bcac40de
authored
Mar 04, 2022
by
phcoder
Browse files
Add NGC and Wii compilation
parent
51ebc2ef
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
bcac40de
...
...
@@ -65,13 +65,13 @@ include:
file
:
'
/ctr-static.yml'
# Nintendo GameCube
#
- project: 'libretro-infrastructure/ci-templates'
#
file: '/ngc-static.yml'
-
project
:
'
libretro-infrastructure/ci-templates'
file
:
'
/ngc-static.yml'
# Nintendo Wii
#
- project: 'libretro-infrastructure/ci-templates'
#
file: '/wii-static.yml'
-
project
:
'
libretro-infrastructure/ci-templates'
file
:
'
/wii-static.yml'
# Nintendo WiiU
-
project
:
'
libretro-infrastructure/ci-templates'
file
:
'
/wiiu-static.yml'
...
...
@@ -201,16 +201,16 @@ libretro-build-ctr:
-
.core-defs
# Nintendo GameCube
#
libretro-build-ngc:
#
extends:
#
- .libretro-ngc-static-retroarch-master
#
- .core-defs
libretro-build-ngc
:
extends
:
-
.libretro-ngc-static-retroarch-master
-
.core-defs
# Nintendo Wii
#
libretro-build-wii:
#
extends:
#
- .libretro-wii-static-retroarch-master
#
- .core-defs
libretro-build-wii
:
extends
:
-
.libretro-wii-static-retroarch-master
-
.core-defs
# Nintendo WiiU
libretro-build-wiiu
:
...
...
Makefile
View file @
bcac40de
...
...
@@ -159,6 +159,26 @@ else ifeq ($(platform), libnx)
CFLAGS
+=
-march
=
armv8-a
-mtune
=
cortex-a57
-mtp
=
soft
-mcpu
=
cortex-a57+crc+fp+simd
-ffast-math
CXXFLAGS
:=
$(ASFLAGS)
$(CFLAGS)
STATIC_LINKING
=
1
# Nintendo Game Cube
else
ifeq
($(platform), ngc)
TARGET
:=
$(TARGET_NAME)
_libretro_
$(platform)
.a
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
-DHW_DOL
-mrvl
-mcpu
=
750
-meabi
-mhard-float
CXXFLAGS
+=
-DGEKKO
-DHW_DOL
-mrvl
-mcpu
=
750
-meabi
-mhard-float
HAVE_RZLIB
:=
1
STATIC_LINKING
=
1
# Nintendo Wii
else
ifeq
($(platform), wii)
TARGET
:=
$(TARGET_NAME)
_libretro_
$(platform)
.a
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
-DHW_RVL
-mrvl
-mcpu
=
750
-meabi
-mhard-float
CXXFLAGS
+=
-DGEKKO
-DHW_RVL
-mrvl
-mcpu
=
750
-meabi
-mhard-float
HAVE_RZLIB
:=
1
STATIC_LINKING
=
1
# Nintendo WiiU
else
ifeq
($(platform), wiiu)
TARGET
:=
$(TARGET_NAME)
_libretro_
$(platform)
.a
...
...
src/libretro/slock_wrapper.h
View file @
bcac40de
#pragma once
#if defined(_3DS) || defined(__PSP__) || defined(PS2) || defined(WIIU)
#if defined(_3DS) || defined(__PSP__) || defined(PS2) || defined(WIIU)
|| defined(GEKKO)
#define USE_SLOCK_WRAPPER 1
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment