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 96 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
0c7f9f3
flycast builds empty implimentation
JoeMatt Nov 20, 2024
16f910c
flycast, wow, it builds and links!
JoeMatt Nov 20, 2024
38e5b6e
update build flags
JoeMatt Nov 20, 2024
03e149c
flycast hack together a target with core code
JoeMatt Nov 20, 2024
38e027d
flycast force add build dir
JoeMatt Nov 20, 2024
8f8e6fd
flycast links and start to load rom - dynarec crash
JoeMatt Dec 4, 2024
6056f0c
add mre 565 support to pvmetalvc
JoeMatt Dec 4, 2024
f7b0f30
flycast controls extern
JoeMatt Dec 4, 2024
b15b38b
TARGET_NO_REC
JoeMatt Dec 4, 2024
2fc2271
USE_VULKAN=1
JoeMatt Dec 4, 2024
b8ff5db
getVariable:
JoeMatt Dec 4, 2024
abcaed8
xcode project touched
JoeMatt Dec 4, 2024
1970e2e
fix embedding corebridge
JoeMatt Dec 31, 2024
46f7e88
importer better bios matching by filename
JoeMatt Dec 31, 2024
2a1603f
beetle sans libretro compiles
JoeMatt Dec 4, 2024
f9a8f4f
compiles with libretro gles2
JoeMatt Dec 4, 2024
bc2ab57
pvbeetlepsx builds and links as a bridged core
JoeMatt Dec 4, 2024
a47d82b
add psxbeetle to lite appstore
JoeMatt Dec 4, 2024
34d79dc
beetle link all, still no work
JoeMatt Dec 4, 2024
df31c28
enable melon because it has the same problem
JoeMatt Dec 4, 2024
0a0a3d6
beetle ios tvos 16.0
JoeMatt Dec 30, 2024
7daefb0
fix xcodeproj overriding buildflags c and linker flags
JoeMatt Dec 30, 2024
f8b8b2a
remove literec from build
JoeMatt Dec 30, 2024
ef30280
pvbetlepsx vulkan compiles
JoeMatt Dec 30, 2024
a74223a
PVBeetlePSX add some core options
JoeMatt Dec 30, 2024
e1e8962
Audio remove loud log line
JoeMatt Dec 30, 2024
5e01b01
beetle add missing option to menu
JoeMatt Dec 31, 2024
78ef1d4
beetle mess with pixel format
JoeMatt Dec 31, 2024
cf678c0
metalvc don’t lock semaphores on missing texture
JoeMatt Dec 31, 2024
3528884
fMSX fix build, add to lite
JoeMatt Dec 31, 2024
9dc8a16
fMSX get fps and samplerate from libretro
JoeMatt Dec 31, 2024
b78326b
Add fMSX to both lites
JoeMatt Dec 31, 2024
29c8211
fMSX generate info.plist, auto sdk
JoeMatt Dec 31, 2024
962c935
fMSX pitch shift and copy bios files
JoeMatt Dec 31, 2024
004f626
fMSX update rebase to libretro master
JoeMatt Dec 31, 2024
b0f22e1
fMSX add button callbacks
JoeMatt Dec 31, 2024
bea464d
fMSX video is almost right
JoeMatt Dec 31, 2024
9c0bff5
fMSX don’t hardcode aspect ratio
JoeMatt Dec 31, 2024
9e2f521
fix lite target, add beetle to it
JoeMatt Dec 31, 2024
26b5e70
moveable remove loud log line
JoeMatt Dec 31, 2024
25c3ac6
beetle add controls stubs
JoeMatt Dec 31, 2024
94fa924
Beetle don’t override gles video sizes
JoeMatt Jan 1, 2025
5186e63
Beetle supports save states?
JoeMatt Jan 1, 2025
eb31de6
beetle fix get hw_renderer to renderer
JoeMatt Jan 1, 2025
b663f09
libretro build flags and gles, vulkan, zlib, dylib
JoeMatt Jan 1, 2025
9ffa147
libretrocore callbacks hw add temp versions
JoeMatt Jan 1, 2025
4e77017
DuckStation builds but no video. crashes
JoeMatt Jan 1, 2025
84462b3
DuckStation change compile flags, resources copy
JoeMatt Jan 2, 2025
1848830
Fix lite nonappstore build, use duckstation
JoeMatt Jan 2, 2025
f0ad5a6
Merge branch 'feature/CorePVBeetlePSX' into new-cores/libretrogles
JoeMatt Jan 2, 2025
db1946a
post merge project touched
JoeMatt Jan 2, 2025
b74dfde
melonDS adjust buildflags
JoeMatt Jan 2, 2025
8419c3c
prov lite fix embeds
JoeMatt Jan 2, 2025
8364f30
Merge branch 'feature/flycastRedo' into feature/new-cores/libretrogles
JoeMatt Jan 2, 2025
cdc4613
PVDosBox compiles
JoeMatt Jan 2, 2025
e773821
Dolphin proper vulkan lib loading
JoeMatt Jan 3, 2025
25cadfa
PVLogging improve objc logging
JoeMatt Jan 6, 2025
e191270
PVSettings expose useMetal to objc
JoeMatt Jan 6, 2025
a47efd5
pvlibretrobridge fix logging, other fixes
JoeMatt Jan 6, 2025
31f55d3
pvlibretro fix defs
JoeMatt Jan 6, 2025
6221118
pvlibretro compile more things, public headers
JoeMatt Jan 6, 2025
b54a09d
yabause fix compile settings
JoeMatt Jan 6, 2025
4b7f189
pvvecx fix compile flags
JoeMatt Jan 6, 2025
ee31e12
pvmelonds fix compile flags
JoeMatt Jan 6, 2025
2c8e3f2
mupen64plux-nx fix flags and project
JoeMatt Jan 6, 2025
81dce2a
pcsxrearmed fix ios16
JoeMatt Jan 6, 2025
8352678
duckstation fix duplicate import
JoeMatt Jan 6, 2025
2fbd66d
flycast project touched
JoeMatt Jan 6, 2025
803fcf5
dolphin add logging
JoeMatt Jan 6, 2025
c8c1885
dolphin some init changes from other code
JoeMatt Jan 6, 2025
d911ee0
dolphin fix duplicate import
JoeMatt Jan 6, 2025
ba115a1
dolphin fix import and 120 to 60 fps
JoeMatt Jan 6, 2025
2f6ff45
dolphin project fix platforms
JoeMatt Jan 6, 2025
6ee4e44
mainproject build new cores in Lite
JoeMatt Jan 6, 2025
d3248dd
pvvecx non-gl mode, still wrong video mode
JoeMatt Jan 6, 2025
5128ea7
melonDS non-gl mode
JoeMatt Jan 6, 2025
4e88f92
libretrocore don’t die on error log
JoeMatt Jan 6, 2025
01b0a68
libretrocore video formats tweaking
JoeMatt Jan 6, 2025
d59329e
desmume2015 delete unused code
JoeMatt Jan 6, 2025
def4ff2
TEMP build.yml only build the test app
JoeMatt Jan 6, 2025
d5c5764
FreeIntv build is correct
JoeMatt Jan 6, 2025
4b88a79
PVFuse start but lots to compile
JoeMatt Jan 6, 2025
562466e
remove fuse from lite since broken
JoeMatt Jan 6, 2025
bbcc32b
Merge branch 'feature/new-cores/fMSX' into feature/new-cores/libretro…
JoeMatt Jan 6, 2025
3e98f70
RetroArch add fMSX, VecX and Intellivison dylibs
JoeMatt Jan 6, 2025
60a3b21
RetroArch add Vectrex controls
JoeMatt Jan 6, 2025
4e0062c
duckstation add scmversion.cpp to repo
JoeMatt Jan 6, 2025
81d1543
beetle don’t build libretro dylibs with framework
JoeMatt Jan 6, 2025
0066a41
flycast point to working branch, add version.h
JoeMatt Jan 6, 2025
1f49c19
coreretro fix msx calls
JoeMatt Jan 6, 2025
c0543df
TEMP CI change for this branch
JoeMatt Jan 6, 2025
3161846
AppStore allow override with unsupported cores
JoeMatt Jan 6, 2025
d93f4eb
libretro core outline rumble support
JoeMatt Jan 6, 2025
06c7745
retroarch core adjust buildflags format
JoeMatt Jan 7, 2025
e8050b6
coresretro add vecx, remove flycast dylibs
JoeMatt Jan 7, 2025
f4615fa
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: 19 additions & 19 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-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-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-tvOS"
# sdk: appletvos
# scheme: "Provenance (AppStore) (Release)"
# APP_NAME: "Provenance"
# IPA_NAME: "Provenance-tvOS"

runs-on: 'macos-latest'
timeout-minutes: 300
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