Skip to content

Manic EMU is an all-in-one retro game emulator for iOS. It packs powerful features while keeping a clean, sleek UI and delivering buttery-smooth gameplay.

Swift

Adjust StikJIT's submodule config

Daiuno58ba999d182c
diff --git a/.gitignore b/.gitignore
index 1ae1463c..5c460370 100644
--- a/.gitignore
+++ b/.gitignore
@@ -92,7 +92,6 @@ iOSInjectionProject/
# Out of sync
CoresSources
Dependencies/*
-!Dependencies/Libretro
i18n/
Scripts/System.core.ver
ManicEmu/ManicEmu/Resources/System.core
diff --git a/.gitmodules b/.gitmodules
index 49a844d2..07d983c1 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -28,8 +28,8 @@
url = https://github.com/Daiuno/ProHUD.git
branch = main
-[submodule "StikJIT"]
- path = StikJIT
+[submodule "Dependencies/StikJIT"]
+ path = Dependencies/StikJIT
url = https://github.com/StephenDev0/StikJIT.git
[submodule "Dependencies/SwiftCloudDrive"]
diff --git a/StikJIT b/Dependencies/StikJIT
similarity index 100%
rename from StikJIT
rename to Dependencies/StikJIT
diff --git a/ManicEmu/ManicEmu.xcodeproj/project.pbxproj b/ManicEmu/ManicEmu.xcodeproj/project.pbxproj
index 80015801..b14bd906 100644
--- a/ManicEmu/ManicEmu.xcodeproj/project.pbxproj
+++ b/ManicEmu/ManicEmu.xcodeproj/project.pbxproj
@@ -6722,20 +6722,20 @@
57E8A110304A4A1100000035 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; };
57E8A110304A4A1100000036 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; };
57E8A110304A4A1100000037 /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = System/Library/Frameworks/IOKit.framework; sourceTree = SDKROOT; };
- 57E8A110304A4A1100000038 /* libidevice_ffi.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libidevice_ffi.a; path = ../StikJIT/idevice/libidevice_ffi.a; sourceTree = SOURCE_ROOT; };
- 57E8A110304A4A110000003C /* BundledScript.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = BundledScript.swift; path = ../StikJIT/Sources/BundledScript.swift; sourceTree = SOURCE_ROOT; };
- 57E8A110304A4A110000003D /* DDISession.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = DDISession.swift; path = ../StikJIT/Sources/DDISession.swift; sourceTree = SOURCE_ROOT; };
- 57E8A110304A4A110000003E /* DeveloperDiskImageService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = DeveloperDiskImageService.swift; path = ../StikJIT/Sources/DeveloperDiskImageService.swift; sourceTree = SOURCE_ROOT; };
- 57E8A110304A4A110000003F /* EndpointProbe.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = EndpointProbe.swift; path = ../StikJIT/Sources/EndpointProbe.swift; sourceTree = SOURCE_ROOT; };
- 57E8A110304A4A1100000040 /* IdeviceFFI.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = IdeviceFFI.swift; path = ../StikJIT/Sources/IdeviceFFI.swift; sourceTree = SOURCE_ROOT; };
- 57E8A110304A4A1100000041 /* JITSession.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = JITSession.swift; path = ../StikJIT/Sources/JITSession.swift; sourceTree = SOURCE_ROOT; };
- 57E8A110304A4A1100000042 /* ProcessInfo+TXM.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = "ProcessInfo+TXM.swift"; path = "../StikJIT/Sources/ProcessInfo+TXM.swift"; sourceTree = SOURCE_ROOT; };
- 57E8A110304A4A1100000043 /* ScriptRunner.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ScriptRunner.swift; path = ../StikJIT/Sources/ScriptRunner.swift; sourceTree = SOURCE_ROOT; };
- 57E8A110304A4A1100000044 /* StikJIT.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = StikJIT.swift; path = ../StikJIT/Sources/StikJIT.swift; sourceTree = SOURCE_ROOT; };
- 57E8A110304A4A1100000045 /* StikJITError.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = StikJITError.swift; path = ../StikJIT/Sources/StikJITError.swift; sourceTree = SOURCE_ROOT; };
- 57E8A110304A4A1100000046 /* SynchronousDDIDownloader.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = SynchronousDDIDownloader.swift; path = ../StikJIT/Sources/SynchronousDDIDownloader.swift; sourceTree = SOURCE_ROOT; };
- 57E8A110304A4A1100000050 /* universal.js */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.javascript; name = universal.js; path = ../StikJIT/Resources/universal.js; sourceTree = SOURCE_ROOT; };
- 57E8A110304A4A1100000051 /* legacy.js */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.javascript; name = legacy.js; path = ../StikJIT/Resources/legacy.js; sourceTree = SOURCE_ROOT; };
+ 57E8A110304A4A1100000038 /* libidevice_ffi.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libidevice_ffi.a; path = ../Dependencies/StikJIT/idevice/libidevice_ffi.a; sourceTree = SOURCE_ROOT; };
+ 57E8A110304A4A110000003C /* BundledScript.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = BundledScript.swift; path = ../Dependencies/StikJIT/Sources/BundledScript.swift; sourceTree = SOURCE_ROOT; };
+ 57E8A110304A4A110000003D /* DDISession.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = DDISession.swift; path = ../Dependencies/StikJIT/Sources/DDISession.swift; sourceTree = SOURCE_ROOT; };
+ 57E8A110304A4A110000003E /* DeveloperDiskImageService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = DeveloperDiskImageService.swift; path = ../Dependencies/StikJIT/Sources/DeveloperDiskImageService.swift; sourceTree = SOURCE_ROOT; };
+ 57E8A110304A4A110000003F /* EndpointProbe.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = EndpointProbe.swift; path = ../Dependencies/StikJIT/Sources/EndpointProbe.swift; sourceTree = SOURCE_ROOT; };
+ 57E8A110304A4A1100000040 /* IdeviceFFI.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = IdeviceFFI.swift; path = ../Dependencies/StikJIT/Sources/IdeviceFFI.swift; sourceTree = SOURCE_ROOT; };
+ 57E8A110304A4A1100000041 /* JITSession.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = JITSession.swift; path = ../Dependencies/StikJIT/Sources/JITSession.swift; sourceTree = SOURCE_ROOT; };
+ 57E8A110304A4A1100000042 /* ProcessInfo+TXM.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = "ProcessInfo+TXM.swift"; path = "../Dependencies/StikJIT/Sources/ProcessInfo+TXM.swift"; sourceTree = SOURCE_ROOT; };
+ 57E8A110304A4A1100000043 /* ScriptRunner.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = ScriptRunner.swift; path = ../Dependencies/StikJIT/Sources/ScriptRunner.swift; sourceTree = SOURCE_ROOT; };
+ 57E8A110304A4A1100000044 /* StikJIT.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = StikJIT.swift; path = ../Dependencies/StikJIT/Sources/StikJIT.swift; sourceTree = SOURCE_ROOT; };
+ 57E8A110304A4A1100000045 /* StikJITError.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = StikJITError.swift; path = ../Dependencies/StikJIT/Sources/StikJITError.swift; sourceTree = SOURCE_ROOT; };
+ 57E8A110304A4A1100000046 /* SynchronousDDIDownloader.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = SynchronousDDIDownloader.swift; path = ../Dependencies/StikJIT/Sources/SynchronousDDIDownloader.swift; sourceTree = SOURCE_ROOT; };
+ 57E8A110304A4A1100000050 /* universal.js */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.javascript; name = universal.js; path = ../Dependencies/StikJIT/Resources/universal.js; sourceTree = SOURCE_ROOT; };
+ 57E8A110304A4A1100000051 /* legacy.js */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.javascript; name = legacy.js; path = ../Dependencies/StikJIT/Resources/legacy.js; sourceTree = SOURCE_ROOT; };
57E8B0812E1CDB8800F93E60 /* GB.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GB.swift; sourceTree = "<group>"; };
57E8B1012E2366D800F93E60 /* BIOSItem.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BIOSItem.swift; sourceTree = "<group>"; };
57E8B18A2E2553CC00F93E60 /* HomeMenuImage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HomeMenuImage.swift; sourceTree = "<group>"; };
diff --git a/ManicEmu/ManicEmu/Resources/JITEnablerExtension.xcconfig b/ManicEmu/ManicEmu/Resources/JITEnablerExtension.xcconfig
index 2364f77e..03415f4d 100644
--- a/ManicEmu/ManicEmu/Resources/JITEnablerExtension.xcconfig
+++ b/ManicEmu/ManicEmu/Resources/JITEnablerExtension.xcconfig
@@ -31,8 +31,8 @@ SWIFT_ACTIVE_COMPILATION_CONDITIONS = $(inherited) DEBUG
INFOPLIST_FILE = ManicEmu/Sources/Tools/JIT/JITEnablerExtension/Info.plist
CODE_SIGN_ENTITLEMENTS = ManicEmu/Sources/Tools/JIT/JITEnablerExtension/JITEnablerExtension.entitlements
-LIBRARY_SEARCH_PATHS = $(inherited) "$(SRCROOT)/../StikJIT/idevice"
-HEADER_SEARCH_PATHS = $(inherited) "$(SRCROOT)/../StikJIT/idevice" "$(SRCROOT)/../StikJIT/iokit"
-SWIFT_INCLUDE_PATHS = $(inherited) "$(SRCROOT)/../StikJIT/idevice" "$(SRCROOT)/../StikJIT/iokit"
-OTHER_LDFLAGS = $(inherited) -force_load "$(SRCROOT)/../StikJIT/idevice/libidevice_ffi.a"
+LIBRARY_SEARCH_PATHS = $(inherited) "$(SRCROOT)/../Dependencies/StikJIT/idevice"
+HEADER_SEARCH_PATHS = $(inherited) "$(SRCROOT)/../Dependencies/StikJIT/idevice" "$(SRCROOT)/../Dependencies/StikJIT/iokit"
+SWIFT_INCLUDE_PATHS = $(inherited) "$(SRCROOT)/../Dependencies/StikJIT/idevice" "$(SRCROOT)/../Dependencies/StikJIT/iokit"
+OTHER_LDFLAGS = $(inherited) -force_load "$(SRCROOT)/../Dependencies/StikJIT/idevice/libidevice_ffi.a"
LD_RUNPATH_SEARCH_PATHS = $(inherited) @executable_path/Frameworks @executable_path/../../Frameworks