Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/new cores/libretrogles #2373

Draft
wants to merge 95 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
ab123bc
Merge branch 'develop' into release/3.0.3
JoeMatt Jan 22, 2025
085ba53
3ds minor settings tweak
JoeMatt Jan 22, 2025
334350c
CI/CD script update
JoeMatt Jan 22, 2025
545c759
fMSX fix build, add to lite
JoeMatt Dec 31, 2024
17215c2
fMSX get fps and samplerate from libretro
JoeMatt Dec 31, 2024
f7c8f86
Add fMSX to both lites
JoeMatt Dec 31, 2024
903844a
fMSX generate info.plist, auto sdk
JoeMatt Dec 31, 2024
49c4f44
fMSX pitch shift and copy bios files
JoeMatt Dec 31, 2024
93ab3dd
fMSX update rebase to libretro master
JoeMatt Dec 31, 2024
f8b89b4
fMSX add button callbacks
JoeMatt Dec 31, 2024
5fa47f6
fMSX video is almost right
JoeMatt Dec 31, 2024
2f6616d
fMSX don’t hardcode aspect ratio
JoeMatt Dec 31, 2024
773e730
DuckStation change compile flags, resources copy
JoeMatt Jan 2, 2025
bbd20f7
Fix lite nonappstore build, use duckstation
JoeMatt Jan 2, 2025
6b21770
beetle sans libretro compiles
JoeMatt Dec 4, 2024
3e13cfb
compiles with libretro gles2
JoeMatt Dec 4, 2024
aff9baf
pvbeetlepsx builds and links as a bridged core
JoeMatt Dec 4, 2024
cc4b3b7
add psxbeetle to lite appstore
JoeMatt Dec 4, 2024
5d026a0
beetle link all, still no work
JoeMatt Dec 4, 2024
eabceff
enable melon because it has the same problem
JoeMatt Dec 4, 2024
f53ca8a
beetle ios tvos 16.0
JoeMatt Dec 30, 2024
21dc3e3
fix xcodeproj overriding buildflags c and linker flags
JoeMatt Dec 30, 2024
3116f17
remove literec from build
JoeMatt Dec 30, 2024
81f9627
pvbetlepsx vulkan compiles
JoeMatt Dec 30, 2024
180d55a
PVBeetlePSX add some core options
JoeMatt Dec 30, 2024
253ce45
beetle add missing option to menu
JoeMatt Dec 31, 2024
460aafa
beetle mess with pixel format
JoeMatt Dec 31, 2024
8083d51
metalvc don’t lock semaphores on missing texture
JoeMatt Dec 31, 2024
37e90c1
fix lite target, add beetle to it
JoeMatt Dec 31, 2024
8abcea8
moveable remove loud log line
JoeMatt Dec 31, 2024
9e5bcf4
beetle add controls stubs
JoeMatt Dec 31, 2024
9778242
Beetle don’t override gles video sizes
JoeMatt Jan 1, 2025
c1058ea
Beetle supports save states?
JoeMatt Jan 1, 2025
7a66de6
beetle fix get hw_renderer to renderer
JoeMatt Jan 1, 2025
87d2c46
libretro build flags and gles, vulkan, zlib, dylib
JoeMatt Jan 1, 2025
8d20f70
libretrocore callbacks hw add temp versions
JoeMatt Jan 1, 2025
096ac20
post merge project touched
JoeMatt Jan 2, 2025
115d4c8
melonDS adjust buildflags
JoeMatt Jan 2, 2025
cf01b81
prov lite fix embeds
JoeMatt Jan 2, 2025
e28ee71
flycast builds empty implimentation
JoeMatt Nov 20, 2024
a2f92dc
flycast, wow, it builds and links!
JoeMatt Nov 20, 2024
880d2f4
update build flags
JoeMatt Nov 20, 2024
e6c2762
flycast hack together a target with core code
JoeMatt Nov 20, 2024
5117cef
flycast force add build dir
JoeMatt Nov 20, 2024
cd3c0a2
flycast links and start to load rom - dynarec crash
JoeMatt Dec 4, 2024
9df6a7f
add mre 565 support to pvmetalvc
JoeMatt Dec 4, 2024
36dabb9
flycast controls extern
JoeMatt Dec 4, 2024
7d79beb
TARGET_NO_REC
JoeMatt Dec 4, 2024
ba05fd5
USE_VULKAN=1
JoeMatt Dec 4, 2024
9b94fd4
getVariable:
JoeMatt Dec 4, 2024
9be5fd3
xcode project touched
JoeMatt Dec 4, 2024
98148ec
fix embedding corebridge
JoeMatt Dec 31, 2024
a2eef27
importer better bios matching by filename
JoeMatt Dec 31, 2024
470f4f0
PVDosBox compiles
JoeMatt Jan 2, 2025
e04fb16
Dolphin proper vulkan lib loading
JoeMatt Jan 3, 2025
aaf540d
PVLogging improve objc logging
JoeMatt Jan 6, 2025
73df90a
PVSettings expose useMetal to objc
JoeMatt Jan 6, 2025
b36d187
pvlibretrobridge fix logging, other fixes
JoeMatt Jan 6, 2025
d2fd418
pvlibretro fix defs
JoeMatt Jan 6, 2025
57fdb22
pvlibretro compile more things, public headers
JoeMatt Jan 6, 2025
301693e
yabause fix compile settings
JoeMatt Jan 6, 2025
8cc8d42
pvvecx fix compile flags
JoeMatt Jan 6, 2025
08102b4
pvmelonds fix compile flags
JoeMatt Jan 6, 2025
f114486
mupen64plux-nx fix flags and project
JoeMatt Jan 6, 2025
6bd3ddd
pcsxrearmed fix ios16
JoeMatt Jan 6, 2025
1a7402b
duckstation fix duplicate import
JoeMatt Jan 6, 2025
911f5a2
flycast project touched
JoeMatt Jan 6, 2025
e79bcf6
dolphin add logging
JoeMatt Jan 6, 2025
a69fdff
dolphin some init changes from other code
JoeMatt Jan 6, 2025
0b6c88f
dolphin fix duplicate import
JoeMatt Jan 6, 2025
e0b2a99
dolphin fix import and 120 to 60 fps
JoeMatt Jan 6, 2025
d3ccf47
dolphin project fix platforms
JoeMatt Jan 6, 2025
f946f2d
mainproject build new cores in Lite
JoeMatt Jan 6, 2025
7363b72
pvvecx non-gl mode, still wrong video mode
JoeMatt Jan 6, 2025
ce0da6a
melonDS non-gl mode
JoeMatt Jan 6, 2025
c31bf93
libretrocore video formats tweaking
JoeMatt Jan 6, 2025
d2e0d20
desmume2015 delete unused code
JoeMatt Jan 6, 2025
1b0dfb9
TEMP build.yml only build the test app
JoeMatt Jan 6, 2025
bbb8199
FreeIntv build is correct
JoeMatt Jan 6, 2025
c0dc37e
PVFuse start but lots to compile
JoeMatt Jan 6, 2025
81dffe6
remove fuse from lite since broken
JoeMatt Jan 6, 2025
2dff3b2
fMSX fix build, add to lite
JoeMatt Dec 31, 2024
0f74070
Add fMSX to both lites
JoeMatt Dec 31, 2024
7f4c6f8
RetroArch add fMSX, VecX and Intellivison dylibs
JoeMatt Jan 6, 2025
f8424d2
RetroArch add Vectrex controls
JoeMatt Jan 6, 2025
f8a289a
duckstation add scmversion.cpp to repo
JoeMatt Jan 6, 2025
d3babbe
beetle don’t build libretro dylibs with framework
JoeMatt Jan 6, 2025
4811d90
flycast point to working branch, add version.h
JoeMatt Jan 6, 2025
b6f43d8
coreretro fix msx calls
JoeMatt Jan 6, 2025
9d2cd36
TEMP CI change for this branch
JoeMatt Jan 6, 2025
e924432
AppStore allow override with unsupported cores
JoeMatt Jan 6, 2025
f803b30
libretro core outline rumble support
JoeMatt Jan 6, 2025
9c72b1c
retroarch core adjust buildflags format
JoeMatt Jan 7, 2025
f17332c
coresretro add vecx, remove flycast dylibs
JoeMatt Jan 7, 2025
3e0d31f
flycast mucking around
JoeMatt Jan 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
38 changes: 20 additions & 18 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,27 +29,27 @@ jobs:
include:
- target: "Provenance-Lite-iOS"
sdk: iphoneos
scheme: "Provenance-Lite (AppStore) (Release)"
APP_NAME: "Provenance Lite"
scheme: "Provenance-Lite"
APP_NAME: "Provenance-Lite"
IPA_NAME: "Provenance-Lite-iOS"

- target: "Provenance-Lite-tvOS"
sdk: appletvos
scheme: "Provenance-Lite (AppStore) (Release)"
APP_NAME: "Provenance Lite"
IPA_NAME: "Provenance-Lite-tvOS"
# - target: "Provenance-Lite-tvOS"
# sdk: appletvos
# scheme: "Provenance-Lite (AppStore) (Release)"
# APP_NAME: "Provenance Lite"
# IPA_NAME: "Provenance-Lite-tvOS"

- target: "Provenance-iOS"
sdk: iphoneos
scheme: "Provenance (AppStore) (Release)"
APP_NAME: "Provenance"
IPA_NAME: "Provenance-iOS"
# - target: "Provenance-iOS"
# sdk: iphoneos
# scheme: "Provenance (AppStore) (Release)"
# APP_NAME: "Provenance"
# IPA_NAME: "Provenance-iOS"

- target: "Provenance-tvOS"
sdk: appletvos
scheme: "Provenance (AppStore) (Release)"
APP_NAME: "Provenance"
IPA_NAME: "Provenance-tvOS"
# - target: "Provenance-tvOS"
# sdk: appletvos
# scheme: "Provenance (AppStore) (Release)"
# APP_NAME: "Provenance"
# IPA_NAME: "Provenance-tvOS"

runs-on: 'macos-latest'
timeout-minutes: 300
Expand Down Expand Up @@ -129,8 +129,10 @@ jobs:

- name: Fakesign app
run: |
echo "Checking entitlements file..."
echo "Contents of Provenance directory:"
ls -la "Provenance/"
echo "Contents of archive.xcarchive/Products/Applications/ directory:"
ls -la "archive.xcarchive/Products/Applications/"
echo "Checking app binary..."
ls -la "archive.xcarchive/Products/Applications/${{ matrix.APP_NAME }}.app/"
ldid -S"Provenance/Provenance-AppStore.entitlements" "archive.xcarchive/Products/Applications/${{ matrix.APP_NAME }}.app/${{ matrix.APP_NAME }}" || echo "::warning::Fakesign failed but continuing build"
Expand Down
52 changes: 48 additions & 4 deletions Cores/BeetlePSX/BuildFlags.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,58 @@
//

// All
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) __LIBRETRO__=1 HAVE_PBP=1 HAVE_CHD=1 _7ZIP_ST=1 WANT_THREADING=1 HAVE_THREADS=1 ENABLE_THREADED_COMPILER=1 HAVE_OPENGLES2=1 SIZEOF_DOUBLE=8 PACKAGE=mednafen MEDNAFEN_VERSION_NUMERIC=9386 PSS_STYLE=1 MPC_FIXED_POINT STDC_HEADERS __STDC_LIMIT_MACROS _LOW_ACCURACY_ _FILE_OFFSET_BITS=64 __STDC_CONSTANT_MACROS FRONTEND_SUPPORTS_RGB565=1 HAVE_CHD=1 LINK_STATIC_LIBCPLUSPLUS=1 THREADED_RECOMPILER=1 LIGHTREC_LOG_LEVEL=3 NEED_THREADING=1 HAVE_LIBRETRO=1 WANT_32BPP=1 NEED_CD=1 LIGHTREC_STATIC=1 NEED_TREMOR=1 NEED_BPP=32 NEED_DEINTERLACER=1 HAVE_HW=1 SET_HAVE_HW=1 WANT_PSX_EMU=1 HAVE_UNISTD_H=1 MEDNAFEN_VERSION=0.9.38.6 HAS_DEFAULT_ELM=0 ENABLE_DISASSEMBLER=0 HAVE_GRIFFIN=0 HAVE_OPENGLES=1
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) ENABLE_DISASSEMBLER=0
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) ENABLE_THREADED_COMPILER=1
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) FRONTEND_SUPPORTS_RGB565=1
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) HAS_DEFAULT_ELM=0
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) HAVE_CHD=1
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) HAVE_GRIFFIN=0
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) HAVE_HW=1
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) HAVE_LIBRETRO=1
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) HAVE_VULKAN=1
//GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) HAVE_OPENGL=1
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) HAVE_OPENGLES3=1
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) HAVE_OPENGLES2=1
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) HAVE_OPENGLES=1
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) HAVE_PBP=1
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) HAVE_THREADS=1
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) HAVE_UNISTD_H=1
//GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) PSX_DBGPRINT_ENABLE=1
//GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) HAVE_LIGHTREC=0
//GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) LIGHTREC_LOG_LEVEL=3
//GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) LIGHTREC_STATIC=1
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) LINK_STATIC_LIBCPLUSPLUS=1
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) MEDNAFEN_VERSION=0.9.38.6
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) MEDNAFEN_VERSION_NUMERIC=9386
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) MPC_FIXED_POINT
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) NEED_BPP=32
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) NEED_CD=1
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) NEED_DEINTERLACER=1
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) NEED_THREADING=1
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) NEED_TREMOR=1
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) PACKAGE=mednafen
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) PSS_STYLE=1
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) SET_HAVE_HW=1
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) SIZEOF_DOUBLE=8
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) STDC_HEADERS
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) THREADED_RECOMPILER=1
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) WANT_32BPP=1
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) WANT_PSX_EMU=1
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) WANT_THREADING=1
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) _7ZIP_ST=1
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) _FILE_OFFSET_BITS=64
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) _LOW_ACCURACY_
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) __LIBRETRO__=1
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) __STDC_CONSTANT_MACROS
GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) __STDC_LIMIT_MACROS
GL_APIENTRYP=GLAPIENTRY*
// HAVE_OPENGLES=1
// HAVE_VULKAN=0 HAVE_JIT=0 WANT_16BPP=0 WANT_8BPP=1 LIGHTREC_DEBUG=0 HAVE_OPENGL=0 HAVE_SHM=1 USE_FIXED
// HAVE_CDROM=1
//OTHER_CFLAGS = $(inherited) -ObjC -ffast-math -ftree-vectorize -fno-strict-aliasing -fpermissive -fomit-frame-pointer -fmodules -fcxx-modules
OTHER_CFLAGS = $(inherited) -fmodules -fcxx-modules
OTHER_CFLAGS = $(inherited) -fmodules -fcxx-modules -Wno-module-import-in-extern-c

// OTHER_LDFLAGS = $(inherited) -ObjC -Wl,-all_load -all_load
OTHER_LDFLAGS = $(inherited) -ObjC -Wl,-all_load -all_load

// EXCLUDED_SOURCE_FILE_NAMES[sdk=macosx*] = $(inherited)

Expand All @@ -25,7 +68,7 @@ GCC_PREPROCESSOR_DEFINITIONS[sdk=iphoneos*] = $(inherited) TARGET_IPHONE=1 NEON=
// TODO: Why does this result in some missing symbols?
// HAVE_OPENGLES_3_1=1

OTHER_CFLAGS[sdk=iphoneos*] = $(inherited) -mfpu=neon -D__VEC4_OPT -D__NEON_OPT
OTHER_CFLAGS[sdk=iphoneos*] = $(inherited) -D__VEC4_OPT -D__NEON_OPT
EXCLUDED_SOURCE_FILE_NAMES[sdk=iphoneos*] = $(inherited)

// Simulator
Expand All @@ -34,6 +77,7 @@ GCC_PREPROCESSOR_DEFINITIONS[sdk=iphonesimulator*] = TARGET_IPHONE_SIMULATOR=1 I

// tvOS Device
//GCC_PREPROCESSOR_DEFINITIONS[sdk=appletvos*] = $(inherited) TARGET_IPHONE=1 IOS=1 HAVE_OPENGLES3=1
OTHER_CFLAGS[sdk=appletvos*] = $(inherited) -D__VEC4_OPT -D__NEON_OPT
// HAVE_OPENGLES_3_1=1

// tvOS Simulator
Expand Down
3 changes: 1 addition & 2 deletions Cores/BeetlePSX/PVBeetlePSX.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ FOUNDATION_EXPORT double PVBeetlePSXVersionNumber;
FOUNDATION_EXPORT const unsigned char PVBeetlePSXVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <PVBeetlePSX/PublicHeader.h>
#import <PVBeetlePSX/PVBeetlePSXEmulatorCore.h>

#import <PVBeetlePSX/PVBeetlePSXCoreBridge.h>
Loading
Loading