Merge remote-tracking branch 'libretro/master' into master
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
commit
3a6e4b3c27
|
@ -0,0 +1,79 @@
|
||||||
|
.core-defs:
|
||||||
|
variables:
|
||||||
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
|
JNI_PATH: src/libretro
|
||||||
|
CORENAME: vbam
|
||||||
|
|
||||||
|
include:
|
||||||
|
- template: Jobs/Code-Quality.gitlab-ci.yml
|
||||||
|
- project: 'libretro-infrastructure/ci-templates'
|
||||||
|
file: '/libnx-static.yml'
|
||||||
|
- project: 'libretro-infrastructure/ci-templates'
|
||||||
|
file: '/vita-static.yml'
|
||||||
|
- project: 'libretro-infrastructure/ci-templates'
|
||||||
|
file: '/linux-x64.yml'
|
||||||
|
- project: 'libretro-infrastructure/ci-templates'
|
||||||
|
file: '/windows-x64-mingw.yml'
|
||||||
|
- project: 'libretro-infrastructure/ci-templates'
|
||||||
|
file: '/android-jni.yml'
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- build-prepare
|
||||||
|
- build-shared
|
||||||
|
- build-static
|
||||||
|
- test
|
||||||
|
|
||||||
|
#Desktop
|
||||||
|
libretro-build-linux-x64:
|
||||||
|
extends:
|
||||||
|
- .core-defs
|
||||||
|
- .libretro-linux-x64-make-default
|
||||||
|
variables:
|
||||||
|
MAKEFILE_PATH: src/libretro
|
||||||
|
MAKEFILE: Makefile
|
||||||
|
|
||||||
|
libretro-build-windows-x64:
|
||||||
|
extends:
|
||||||
|
- .core-defs
|
||||||
|
- .libretro-windows-x64-mingw-make-default
|
||||||
|
variables:
|
||||||
|
MAKEFILE_PATH: src/libretro
|
||||||
|
MAKEFILE: Makefile
|
||||||
|
|
||||||
|
# Android
|
||||||
|
android-armeabi-v7a:
|
||||||
|
extends:
|
||||||
|
- .core-defs
|
||||||
|
- .libretro-android-jni-armeabi-v7a
|
||||||
|
|
||||||
|
android-arm64-v8a:
|
||||||
|
extends:
|
||||||
|
- .core-defs
|
||||||
|
- .libretro-android-jni-arm64-v8a
|
||||||
|
|
||||||
|
android-x86_64:
|
||||||
|
extends:
|
||||||
|
- .core-defs
|
||||||
|
- .libretro-android-jni-x86_64
|
||||||
|
|
||||||
|
android-x86:
|
||||||
|
extends:
|
||||||
|
- .core-defs
|
||||||
|
- .libretro-android-jni-x86
|
||||||
|
|
||||||
|
# Static
|
||||||
|
libretro-build-libnx-aarch64:
|
||||||
|
extends:
|
||||||
|
- .core-defs
|
||||||
|
- .libretro-libnx-static-retroarch-master
|
||||||
|
variables:
|
||||||
|
MAKEFILE_PATH: src/libretro
|
||||||
|
MAKEFILE: Makefile
|
||||||
|
|
||||||
|
libretro-build-vita:
|
||||||
|
extends:
|
||||||
|
- .core-defs
|
||||||
|
- .libretro-vita-static-retroarch-master
|
||||||
|
variables:
|
||||||
|
MAKEFILE_PATH: src/libretro
|
||||||
|
MAKEFILE: Makefile
|
|
@ -158,6 +158,13 @@ else ifneq (,$(findstring ios,$(platform)))
|
||||||
CXX = clang++ -arch armv7 -isysroot $(IOSSDK)
|
CXX = clang++ -arch armv7 -isysroot $(IOSSDK)
|
||||||
endif
|
endif
|
||||||
CFLAGS += -DIOS
|
CFLAGS += -DIOS
|
||||||
|
ifeq ($(platform), ios-arm64)
|
||||||
|
CXX = clang++ -arch armv7 -isysroot $(IOSSDK)
|
||||||
|
CC = clang -arch arm64 -isysroot $(IOSSDK)
|
||||||
|
else
|
||||||
|
CC = clang -arch armv7 -isysroot $(IOSSDK)
|
||||||
|
CXX = clang++ -arch armv7 -isysroot $(IOSSDK)
|
||||||
|
endif
|
||||||
ifeq ($(platform),$(filter $(platform),ios9 ios-arm64))
|
ifeq ($(platform),$(filter $(platform),ios9 ios-arm64))
|
||||||
CC += -miphoneos-version-min=8.0
|
CC += -miphoneos-version-min=8.0
|
||||||
CXX += -miphoneos-version-min=8.0
|
CXX += -miphoneos-version-min=8.0
|
||||||
|
@ -169,6 +176,15 @@ else ifneq (,$(findstring ios,$(platform)))
|
||||||
endif
|
endif
|
||||||
TILED_RENDERING=1
|
TILED_RENDERING=1
|
||||||
|
|
||||||
|
else ifeq ($(platform), tvos-arm64)
|
||||||
|
TARGET := $(TARGET_NAME)_libretro_tvos.dylib
|
||||||
|
fpic := -fPIC
|
||||||
|
SHARED := -dynamiclib -DLSB_FIRST
|
||||||
|
ifeq ($(IOSSDK),)
|
||||||
|
IOSSDK := $(shell xcodebuild -version -sdk appletvos Path)
|
||||||
|
endif
|
||||||
|
TILED_RENDERING = 1
|
||||||
|
|
||||||
# Theos iOS
|
# Theos iOS
|
||||||
else ifeq ($(platform), theos_ios)
|
else ifeq ($(platform), theos_ios)
|
||||||
DEPLOYMENT_IOSVERSION = 5.0
|
DEPLOYMENT_IOSVERSION = 5.0
|
||||||
|
|
|
@ -38,6 +38,10 @@
|
||||||
#define FRAMERATE (16777216.0 / 280896.0) // 59.73
|
#define FRAMERATE (16777216.0 / 280896.0) // 59.73
|
||||||
#define SAMPLERATE 32768.0
|
#define SAMPLERATE 32768.0
|
||||||
|
|
||||||
|
#ifndef VBAM_VERSION
|
||||||
|
#define VBAM_VERSION "2.1.3"
|
||||||
|
#endif
|
||||||
|
|
||||||
static retro_log_printf_t log_cb;
|
static retro_log_printf_t log_cb;
|
||||||
static retro_video_refresh_t video_cb;
|
static retro_video_refresh_t video_cb;
|
||||||
static retro_input_poll_t poll_cb;
|
static retro_input_poll_t poll_cb;
|
||||||
|
|
Loading…
Reference in New Issue