Skip to content

Commit c701758

Browse files
committed
Merge branch 'develop'
2 parents 6a2482c + d0f42dd commit c701758

File tree

2,062 files changed

+277099
-95867
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,062 files changed

+277099
-95867
lines changed

.codiumignore

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Dot files
2+
.bundle
3+
.cursorignore
4+
.github
5+
.gitignore
6+
.qodo
7+
.ruby-version
8+
.vscode
9+
.vscodeignore
10+
11+
# Directories
12+
CoreRetro/
13+
Cores/
14+
EmuSkinsApp/
15+
External/
16+
MoltenVK/
17+
Provenance Mini*/
18+
Provenance Mini Watch App/
19+
Provenance Mini Watch AppTests/
20+
Provenance Mini Watch AppUITests/
21+
Provenance Tests/
22+
Provenance VR/
23+
ScadeProject/
24+
Scripts/
25+
Stencils/
26+
UITesting/
27+
fastlane/
28+
iCloudBrowser/
29+
modules/

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
github: [JoeMatt]
44
patreon: provenance
55
open_collective: provenanceemu
6+
buy_me_a_coffee: joemattiello
67
ko_fi: # Replace with a single Ko-fi username
78
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
89
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,4 +124,6 @@ Cores/PPSSPP/lib/
124124
build
125125
/PVLookup/Sources/ShiraGame/Resources/shiragame.sqlite3
126126

127-
.sentryclirc
127+
.sentryclirc
128+
*.code-workspace
129+
/Cores/Dolphin/venv

.gitmodules

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
url = https://github.com/flyinghead/flycast.git
2828
[submodule "Cores/Dolphin/dolphin-ios"]
2929
path = Cores/Dolphin/dolphin-ios
30-
url = https://github.com/OatmealDome/dolphin.git
30+
url = https://JoeMatt@github.com/Provenance-Emu/dolphin-ios-jitless.git
3131
[submodule "Cores/DuckStation/duckstation"]
3232
path = Cores/DuckStation/duckstation
3333
url = https://github.com/stenzek/duckstation.git
@@ -175,6 +175,9 @@
175175
[submodule "Cores/emuThree/cmake/zstd"]
176176
path = Cores/emuThree/cmake/zstd
177177
url = https://github.com/facebook/zstd.git
178+
[submodule "Cores/Citra/cmake/zstd"]
179+
path = Cores/Citra/cmake/zstd
180+
url = https://github.com/facebook/zstd.git
178181
[submodule "Cores/JollyGoodEmulation"]
179182
path = Cores/JollyGoodEmulation
180183
url = https://JoeMatt@github.com/Provenance-Emu/JollyGoodEmulation.git
@@ -190,3 +193,6 @@
190193
[submodule "Cores/Citra/emuThreeDS"]
191194
path = Cores/Citra/azahar
192195
url = https://github.com/Provenance-Emu/emuThreeDS.git
196+
[submodule "Cores/Mednafen/ThirdParty/libchdr"]
197+
path = Cores/Mednafen/ThirdParty/libchdr
198+
url = https://github.com/rtissera/libchdr

Build.xcconfig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
// Configuration settings file format documentation can be found at:
22
// https://help.apple.com/xcode/#/dev745c5c974
33

4-
MARKETING_VERSION = 3.0.6
5-
CURRENT_PROJECT_VERSION = 2845
4+
MARKETING_VERSION = 3.1.1
5+
CURRENT_PROJECT_VERSION = 2847
66

7-
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) GLES_SILENCE_DEPRECATION=1 NONJAILBROKEN=1
8-
OTHER_CFLAGS = $(inherited) -mcpu=apple-a10 -mtune=apple-a12 -march=armv8-a+simd
7+
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) GLES_SILENCE_DEPRECATION=1 NONJAILBROKEN=1 HAVE_DYNAMIC=1 HAVE_CHEEVOS=1
8+
OTHER_CFLAGS = $(inherited) -mcpu=apple-a10 -mtune=apple-a12 -march=armv8-a+simd+crc+crypto -ffast-math -ftree-vectorize -fno-strict-aliasing -fpermissive -fomit-frame-pointer -fPIC -fmodules -fcxx-modules
99

1010
// Vars to be overwritten by `CodeSigning.xcconfig` if exists
1111
DEVELOPMENT_TEAM = S32Z3HMYVQ

Cores/Citra/BuildFlags.xcconfig

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ OTHER_CFLAGS = $(inherited) -fpermissive
99
OTHER_CFLAGS = $(inherited) -frename-registers
1010
OTHER_CFLAGS = $(inherited) -fsingle-precision-constant
1111
OTHER_CFLAGS = $(inherited) -ftree-vectorize
12+
OTHER_CFLAGS = $(inherited) -fvisibility=hidden
13+
OTHER_CFLAGS = $(inherited) -fvisibility-inlines-hidden
1214
// Experimental
1315
OTHER_CFLAGS = $(inherited) -Wl,--gc-sections
1416
//OTHER_CFLAGS = $(inherited) -fdata-sections
@@ -20,6 +22,11 @@ OTHER_CFLAGS = $(inherited) -fomit-frame-pointer
2022
//OTHER_CFLAGS = $(inherited) -fstrict-aliasing
2123
OTHER_CFLAGS = $(inherited) -funsafe-math-optimizations
2224
OTHER_CFLAGS = $(inherited) -fvectorize
25+
OTHER_CFLAGS = $(inherited) -fvisibility=hidden
26+
OTHER_CFLAGS = $(inherited) -fvisibility-inlines-hidden
27+
28+
// Add linker flags to hide glslang symbols
29+
OTHER_LDFLAGS = $(inherited) -Wl,-unexported_symbol,_glslang* -Wl,-unexported_symbol,_SPIRV*
2330

2431
//Note that:
2532
//The -mcpu flag optimizes specifically for the target CPU architecture
@@ -36,7 +43,7 @@ OTHER_CFLAGS = $(inherited) -mtune=apple-a15 // iPhone 13 series, iPhone 14/14+
3643
//OTHER_CFLAGS = $(inherited) -mcpu=apple-a17 // iPhone 15 Pro/Pro Max
3744
//OTHER_CFLAGS = $(inherited) -mcpu=apple-a18 // iPhone 16/16+, iPhone 16 Pro/Pro Max
3845
//OTHER_CFLAGS = $(inherited) -mtune=apple-a18 // iPhone 16/16+, iPhone 16 Pro/Pro Max
39-
OTHER_CFLAGS = $(inherited) -march=armv8-a+simd // 34-36fps kirby top screen level 1
46+
OTHER_CFLAGS = $(inherited) -march=armv8-a+simd+crc+crypto // 34-36fps kirby top screen level 1
4047

4148
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) HAVE_AUDIOTOOLBOX
4249
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) CPPHTTPLIB_OPENSSL_SUPPORT
@@ -50,6 +57,25 @@ GCC_PREPROCESSOR_DEFINITIONS = $(inherited) ENABLE_VULKAN=1
5057

5158
//OTHER_CPPFLAGS = $(inherited) -fmodules -fcxx-modules
5259
OTHER_LDFLAGS = $(inherited) -ObjC -DIPHONEOS
60+
// More aggressive symbol hiding for glslang to prevent conflicts with Dolphin
61+
OTHER_LDFLAGS = $(inherited) -Wl,-unexported_symbol,_glslang* -Wl,-unexported_symbol,_SPIRV*
62+
OTHER_LDFLAGS = $(inherited) -Wl,-unexported_symbol,_TBuiltInResource* -Wl,-unexported_symbol,_EShLanguage*
63+
OTHER_LDFLAGS = $(inherited) -Wl,-unexported_symbol,_EShTargetLanguageVersion* -Wl,-unexported_symbol,_TShader*
64+
OTHER_LDFLAGS = $(inherited) -Wl,-unexported_symbol,_TProgram* -Wl,-unexported_symbol,_TIntermediate*
65+
// Hide all C++ mangled glslang symbols
66+
OTHER_LDFLAGS = $(inherited) -Wl,-unexported_symbol,__ZN7glslang* -Wl,-unexported_symbol,__ZN5SPIRV*
67+
// Force all symbols to be private by default
68+
//OTHER_LDFLAGS = $(inherited) -Wl,-private_bundle
69+
// rpath-based isolation to prevent library interference
70+
OTHER_LDFLAGS = $(inherited) -Wl,-rpath,@loader_path/PVAzahar
71+
OTHER_LDFLAGS = $(inherited) -Wl,-rpath,@loader_path/../Frameworks/PVAzahar.framework
72+
// Prevent implicit dylib loading and force explicit paths
73+
OTHER_LDFLAGS = $(inherited) -Wl,-no_implicit_dylibs
74+
// Use two-level namespace to isolate symbols
75+
//OTHER_LDFLAGS = $(inherited) -Wl,-two_levelnamespace
76+
// Additional visibility flags to hide symbols
77+
OTHER_CFLAGS = $(inherited) -fvisibility=hidden -fvisibility-inlines-hidden
78+
OTHER_CPLUSPLUSFLAGS = $(inherited) -fvisibility=hidden -fvisibility-inlines-hidden
5379

5480
// Swift <--> C++ Interop
5581
// 1. Include the "MYSWIFTMODULENAME-Swift.h" header from your C++ code. (Where MYSWIFTMODULENAME is your Swift module’s name)

Cores/Citra/PVAzahar.xcodeproj/project.pbxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45116,7 +45116,7 @@
4511645116
"\"$(SRCROOT)/lib/lodepng\"",
4511745117
"\"$(SRCROOT)/lib/dds-ktx\"",
4511845118
);
45119-
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
45119+
IPHONEOS_DEPLOYMENT_TARGET = 16.5;
4512045120
LIBRARY_SEARCH_PATHS = (
4512145121
"$(PROJECT_DIR)/azahar/emuThreeDS/externals",
4512245122
"\"$(SRCROOT)/lib\"",
@@ -45287,7 +45287,7 @@
4528745287
"PB_NO_PACKED_STRUCTS=1",
4528845288
"PB_FIELD_32BIT=1",
4528945289
);
45290-
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
45290+
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
4529145291
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
4529245292
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
4529345293
GCC_WARN_UNDECLARED_SELECTOR = YES;
@@ -45310,7 +45310,7 @@
4531045310
);
4531145311
INFOPLIST_FILE = "$(SRCROOT)/PVAzahar/Info.plist";
4531245312
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
45313-
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
45313+
IPHONEOS_DEPLOYMENT_TARGET = 16.5;
4531445314
LD_RUNPATH_SEARCH_PATHS = (
4531545315
"$(inherited)",
4531645316
"@executable_path/Frameworks",
@@ -45384,7 +45384,7 @@
4538445384
"\"$(SRCROOT)/lib/lodepng\"",
4538545385
"\"$(SRCROOT)/lib/dds-ktx\"",
4538645386
);
45387-
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
45387+
IPHONEOS_DEPLOYMENT_TARGET = 16.5;
4538845388
LIBRARY_SEARCH_PATHS = (
4538945389
"$(PROJECT_DIR)/azahar/emuThreeDS/externals",
4539045390
"\"$(SRCROOT)/lib\"",
@@ -45555,7 +45555,7 @@
4555545555
"PB_NO_PACKED_STRUCTS=1",
4555645556
"PB_FIELD_32BIT=1",
4555745557
);
45558-
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
45558+
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
4555945559
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
4556045560
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
4556145561
GCC_WARN_UNDECLARED_SELECTOR = YES;
@@ -45578,7 +45578,7 @@
4557845578
);
4557945579
INFOPLIST_FILE = "$(SRCROOT)/PVAzahar/Info.plist";
4558045580
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
45581-
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
45581+
IPHONEOS_DEPLOYMENT_TARGET = 16.5;
4558245582
LD_RUNPATH_SEARCH_PATHS = (
4558345583
"$(inherited)",
4558445584
"@executable_path/Frameworks",

Cores/Citra/PVAzaharCore/Core/PVAzaharCore.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ import GameController
1919
@objcMembers
2020
public final class PVAzaharCore: PVEmulatorCore {
2121

22+
public override var supportsSkins: Bool { false }
23+
2224
let _bridge: PVAzaharCoreBridge = .init()
2325

2426
// MARK: Audio

Cores/Citra/PVAzaharCore/Core/PVAzaharCoreBridge.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ typedef enum PV3DSButton: NSInteger PV3DSButton;
2929
int8_t cpuOClock;
3030
BOOL enableJIT;
3131
BOOL useNew3DS;
32+
BOOL rightEyeDisable;
3233
BOOL enableLogging;
3334
BOOL asyncShader;
3435
BOOL asyncPresent;
@@ -59,6 +60,7 @@ typedef enum PV3DSButton: NSInteger PV3DSButton;
5960
@property (nonatomic, assign) bool enableJIT;
6061
@property (nonatomic, assign) bool enableLogging;
6162
@property (nonatomic, assign) bool useNew3DS;
63+
@property (nonatomic, assign) bool rightEyeDisable;
6264
@property (nonatomic, assign) bool asyncShader;
6365
@property (nonatomic, assign) bool asyncPresent;
6466
@property (nonatomic, assign) int8_t shaderType;

Cores/Citra/PVAzaharCore/Core/PVAzaharCoreBridge.mm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ - (void)setOptionValues {
126126
[[NSUserDefaults standardUserDefaults] setBool:self.enableJIT forKey:@"use_cpu_jit"];
127127
[[NSUserDefaults standardUserDefaults] setBool:self.enableLogging forKey:@"enable_logging"];
128128
[[NSUserDefaults standardUserDefaults] setBool:self.useNew3DS forKey:@"is_new_3ds"];
129+
[[NSUserDefaults standardUserDefaults] setBool:self.rightEyeDisable forKey:@"disable_right_eye_render"];
129130
[[NSUserDefaults standardUserDefaults] setBool:self.enableVSync forKey:@"use_vsync_new"];
130131
[[NSUserDefaults standardUserDefaults] setBool:self.enableShaderAccurate forKey:@"shaders_accurate_mul"];
131132
[[NSUserDefaults standardUserDefaults] setBool:self.enableShaderJIT forKey:@"use_shader_jit"];

0 commit comments

Comments
 (0)