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
Added Mesen-S core; fixed the issue of joystick events being lost during online multiplayer; fixed the abnormal issue caused by PencilKit.
Daiuno75a6aacbd324
diff --git a/Cores/mesen-s.libretro.framework/Info.plist b/Cores/mesen-s.libretro.framework/Info.plistnew file mode 100644index 00000000..f0767877--- /dev/null+++ b/Cores/mesen-s.libretro.framework/Info.plist@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:a48b4f4d53514ed8122b0fa24a79f730e15ca2c5b5fb2a71c9de1a0772be2490+size 718diff --git a/Cores/mesen-s.libretro.framework/_CodeSignature/CodeResources b/Cores/mesen-s.libretro.framework/_CodeSignature/CodeResourcesnew file mode 100644index 00000000..19e96327--- /dev/null+++ b/Cores/mesen-s.libretro.framework/_CodeSignature/CodeResources@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:05c33345cfdd199350c773ab9c5c7aefc99c08ac9bd2817e4b2d876c7b5d32a6+size 1798diff --git a/Cores/mesen-s.libretro.framework/mesen-s.libretro b/Cores/mesen-s.libretro.framework/mesen-s.libretronew file mode 100755index 00000000..7d1110c7--- /dev/null+++ b/Cores/mesen-s.libretro.framework/mesen-s.libretro@@ -0,0 +1,3 @@+version https://git-lfs.github.com/spec/v1+oid sha256:8fa8fdc76b0c447c2604f60b1cbfaa75b8704d191c4a91f357b9f128454622d4+size 3011456diff --git a/ManicEmu/ManicEmu.xcodeproj/project.pbxproj b/ManicEmu/ManicEmu.xcodeproj/project.pbxprojindex 3a055bc9..0e4c61e0 100644--- a/ManicEmu/ManicEmu.xcodeproj/project.pbxproj+++ b/ManicEmu/ManicEmu.xcodeproj/project.pbxproj@@ -255,7 +255,6 @@578E20AA2FD1C40700A2749A /* ProHUD in Frameworks */ = {isa = PBXBuildFile; productRef = 578E20A92FD1C40700A2749A /* ProHUD */; };578E22F42FD1EE7500A2749A /* azahar.libretro.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 578E22F12FD1EE6600A2749A /* azahar.libretro.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };578E23032FD27DA800A2749A /* CloudServiceKit in Frameworks */ = {isa = PBXBuildFile; productRef = 578E23022FD27DA800A2749A /* CloudServiceKit */; };- 578E230F2FD2810B00A2749A /* HXPhotoPicker in Frameworks */ = {isa = PBXBuildFile; productRef = 578E230E2FD2810B00A2749A /* HXPhotoPicker */; };578E23202FD288C600A2749A /* Closures in Frameworks */ = {isa = PBXBuildFile; productRef = 578E231F2FD288C600A2749A /* Closures */; };578E23872FD2981800A2749A /* GCDWebUploader in Frameworks */ = {isa = PBXBuildFile; productRef = 578E23862FD2981800A2749A /* GCDWebUploader */; };578E23A52FD2AA0600A2749A /* BlankSlate in Frameworks */ = {isa = PBXBuildFile; productRef = 578E23A42FD2AA0600A2749A /* BlankSlate */; };@@ -691,63 +690,63 @@57909516303C7D9100A53656 /* DOOM.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2068D6E791D56FF6148997EA /* DOOM.swift */; };57909518303C7D9100A53656 /* Citra.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 57C75AB02FD5575D0093A2B3 /* Citra.framework */; };57909519303C7D9100A53656 /* Libretro.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 57BFBE172DD32F7700AABF98 /* Libretro.framework */; };- 5790951A303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 5790951B303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 5790951C303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 5790951D303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 5790951E303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };+ 5790951A303C7D9100A53656 /* Tiercel in Frameworks */ = {isa = PBXBuildFile; productRef = 57C7590F2FD42C710093A2B3 /* Tiercel */; };+ 5790951B303C7D9100A53656 /* GCDWebUploader in Frameworks */ = {isa = PBXBuildFile; productRef = 578E23862FD2981800A2749A /* GCDWebUploader */; };+ 5790951C303C7D9100A53656 /* Kingfisher in Frameworks */ = {isa = PBXBuildFile; productRef = 57C759232FD42D960093A2B3 /* Kingfisher */; };+ 5790951D303C7D9100A53656 /* HXPhotoPicker in Frameworks */ = {isa = PBXBuildFile; productRef = 579096BA303F066D00A53656 /* HXPhotoPicker */; };+ 5790951E303C7D9100A53656 /* Fuse in Frameworks */ = {isa = PBXBuildFile; productRef = 57C7591E2FD42D480093A2B3 /* Fuse */; };5790951F303C7D9100A53656 /* CoreBluetooth.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 571748382DA26F1E007CCE25 /* CoreBluetooth.framework */; };- 57909520303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 57909521303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 57909522303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 57909523303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 57909524303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 57909525303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 57909526303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 57909527303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 57909528303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 57909529303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 5790952A303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 5790952B303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 5790952C303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 5790952D303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 5790952E303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };+ 57909520303C7D9100A53656 /* Permission in Frameworks */ = {isa = PBXBuildFile; productRef = 578E26C82FD41B6300A2749A /* Permission */; };+ 57909521303C7D9100A53656 /* BlurUIKit in Frameworks */ = {isa = PBXBuildFile; productRef = 5706B0BD2DFDE4570066122E /* BlurUIKit */; };+ 57909522303C7D9100A53656 /* DNSPageView in Frameworks */ = {isa = PBXBuildFile; productRef = 578E20A22FD1B94E00A2749A /* DNSPageView */; };+ 57909523303C7D9100A53656 /* SMBClient in Frameworks */ = {isa = PBXBuildFile; productRef = 57F632A22D6F17AB007270E8 /* SMBClient */; };+ 57909524303C7D9100A53656 /* CollectionViewPagingLayout in Frameworks */ = {isa = PBXBuildFile; productRef = 578E209D2FD1B8CB00A2749A /* CollectionViewPagingLayout */; };+ 57909525303C7D9100A53656 /* ChromaColorPicker in Frameworks */ = {isa = PBXBuildFile; productRef = 57C759D92FD486BA0093A2B3 /* ChromaColorPicker */; };+ 57909526303C7D9100A53656 /* Schedule in Frameworks */ = {isa = PBXBuildFile; productRef = 57C759192FD42D030093A2B3 /* Schedule */; };+ 57909527303C7D9100A53656 /* Haptica in Frameworks */ = {isa = PBXBuildFile; productRef = 57C759052FD42BD80093A2B3 /* Haptica */; };+ 57909528303C7D9100A53656 /* ObjcExceptionBridging in Frameworks */ = {isa = PBXBuildFile; productRef = 5713306B2D91AFE00043C28A /* ObjcExceptionBridging */; };+ 57909529303C7D9100A53656 /* SwifterSwift in Frameworks */ = {isa = PBXBuildFile; productRef = 578E246A2FD4017E00A2749A /* SwifterSwift */; };+ 5790952A303C7D9100A53656 /* SnapKit in Frameworks */ = {isa = PBXBuildFile; productRef = 578E1FF52FD16A4600A2749A /* SnapKit */; };+ 5790952B303C7D9100A53656 /* SQLiteCipher in Frameworks */ = {isa = PBXBuildFile; productRef = 57C759862FD459310093A2B3 /* SQLiteCipher */; };+ 5790952C303C7D9100A53656 /* JXBanner in Frameworks */ = {isa = PBXBuildFile; productRef = 578E23B62FD2B7D400A2749A /* JXBanner */; };+ 5790952D303C7D9100A53656 /* FluentDarkModeKit in Frameworks */ = {isa = PBXBuildFile; productRef = 579E54502FD4237B000F08E7 /* FluentDarkModeKit */; };+ 5790952E303C7D9100A53656 /* IceCream in Frameworks */ = {isa = PBXBuildFile; productRef = 576C8C713032B5D800AEB08F /* IceCream */; };5790952F303C7D9100A53656 /* StoreKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 576F0DB52D86796100D2A1BA /* StoreKit.framework */; };- 57909530303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 57909531303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 57909532303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 57909533303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 57909534303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 57909535303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 57909536303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 57909537303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 57909538303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 57909539303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 5790953A303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 5790953B303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 5790953C303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 5790953D303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 5790953E303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 5790953F303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 57909540303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 57909541303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 57909542303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 57909543303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 57909544303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 57909545303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 57909546303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 57909547303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 57909548303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 57909549303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 5790954A303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 5790954B303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 5790954C303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 5790954D303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 5790954E303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 5790954F303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 57909550303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 57909551303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };- 57909552303C7D9100A53656 /* (null) in Frameworks */ = {isa = PBXBuildFile; };+ 57909530303C7D9100A53656 /* BlankSlate in Frameworks */ = {isa = PBXBuildFile; productRef = 578E23A42FD2AA0600A2749A /* BlankSlate */; };+ 57909531303C7D9100A53656 /* DeltaCore in Frameworks */ = {isa = PBXBuildFile; productRef = 578E23F42FD31ADD00A2749A /* DeltaCore */; };+ 57909532303C7D9100A53656 /* VisualEffectView in Frameworks */ = {isa = PBXBuildFile; productRef = 578E26DD2FD41E4D00A2749A /* VisualEffectView */; };+ 57909533303C7D9100A53656 /* Device in Frameworks */ = {isa = PBXBuildFile; productRef = 578E26E22FD41F8300A2749A /* Device */; };+ 57909534303C7D9100A53656 /* ColorfulX in Frameworks */ = {isa = PBXBuildFile; productRef = 57CDCD032FD5A9CE005BA4C8 /* ColorfulX */; };+ 57909535303C7D9100A53656 /* SwiftSoup in Frameworks */ = {isa = PBXBuildFile; productRef = 575A39CB2DCCFA6B00B28FC2 /* SwiftSoup */; };+ 57909536303C7D9100A53656 /* WebDavKit in Frameworks */ = {isa = PBXBuildFile; productRef = 57F632E22D714E46007270E8 /* WebDavKit */; };+ 57909537303C7D9100A53656 /* KeyboardKit in Frameworks */ = {isa = PBXBuildFile; productRef = 57C759E02FD487190093A2B3 /* KeyboardKit */; };+ 57909538303C7D9100A53656 /* DominantColors in Frameworks */ = {isa = PBXBuildFile; productRef = 57DF84BE2D637A1A00AA0AAB /* DominantColors */; };+ 57909539303C7D9100A53656 /* PLzmaSDK in Frameworks */ = {isa = PBXBuildFile; productRef = 570A27FF2DCF03CF001249C6 /* PLzmaSDK */; };+ 5790953A303C7D9100A53656 /* CloudServiceKit in Frameworks */ = {isa = PBXBuildFile; productRef = 578E23022FD27DA800A2749A /* CloudServiceKit */; };+ 5790953B303C7D9100A53656 /* KeychainAccess in Frameworks */ = {isa = PBXBuildFile; productRef = 57CDCFBC2FD5D154005BA4C8 /* KeychainAccess */; };+ 5790953C303C7D9100A53656 /* Fireworks in Frameworks */ = {isa = PBXBuildFile; productRef = 578E24562FD3F9D700A2749A /* Fireworks */; };+ 5790953D303C7D9100A53656 /* ZipArchive in Frameworks */ = {isa = PBXBuildFile; productRef = 578E23D02FD2BD0800A2749A /* ZipArchive */; };+ 5790953E303C7D9100A53656 /* SmartCodable in Frameworks */ = {isa = PBXBuildFile; productRef = 57DA89122D82B0C20074052A /* SmartCodable */; };+ 5790953F303C7D9100A53656 /* XCGLogger in Frameworks */ = {isa = PBXBuildFile; productRef = 5713306D2D91AFE00043C28A /* XCGLogger */; };+ 57909540303C7D9100A53656 /* SDL in Frameworks */ = {isa = PBXBuildFile; productRef = 571BB9392DA44D6B00830134 /* SDL */; };+ 57909541303C7D9100A53656 /* UniversalDetector in Frameworks */ = {isa = PBXBuildFile; productRef = 57C7596E2FD455AA0093A2B3 /* UniversalDetector */; };+ 57909542303C7D9100A53656 /* Closures in Frameworks */ = {isa = PBXBuildFile; productRef = 578E231F2FD288C600A2749A /* Closures */; };+ 57909543303C7D9100A53656 /* SideMenu in Frameworks */ = {isa = PBXBuildFile; productRef = 578E26D82FD41E1200A2749A /* SideMenu */; };+ 57909544303C7D9100A53656 /* ColorfulX in Frameworks */ = {isa = PBXBuildFile; productRef = 5726FF452D741F5C00041AD5 /* ColorfulX */; };+ 57909545303C7D9100A53656 /* RswiftLibrary in Frameworks */ = {isa = PBXBuildFile; productRef = 576060282D24E8BD00A98B0C /* RswiftLibrary */; };+ 57909546303C7D9100A53656 /* SwiftCloudDrive in Frameworks */ = {isa = PBXBuildFile; productRef = 57F0D84A2DE2E7A600760F57 /* SwiftCloudDrive */; };+ 57909547303C7D9100A53656 /* BetterSegmentedControl in Frameworks */ = {isa = PBXBuildFile; productRef = 57C759142FD42CB70093A2B3 /* BetterSegmentedControl */; };+ 57909548303C7D9100A53656 /* ProHUD in Frameworks */ = {isa = PBXBuildFile; productRef = 578E20A92FD1C40700A2749A /* ProHUD */; };+ 57909549303C7D9100A53656 /* DeltaCore in Frameworks */ = {isa = PBXBuildFile; productRef = 578E23DF2FD30F1100A2749A /* DeltaCore */; };+ 5790954A303C7D9100A53656 /* IQKeyboardManagerSwift in Frameworks */ = {isa = PBXBuildFile; productRef = 57C7590A2FD42C2E0093A2B3 /* IQKeyboardManagerSwift */; };+ 5790954B303C7D9100A53656 /* SFSafeSymbols in Frameworks */ = {isa = PBXBuildFile; productRef = 57C758FB2FD42AF00093A2B3 /* SFSafeSymbols */; };+ 5790954C303C7D9100A53656 /* NVActivityIndicatorView in Frameworks */ = {isa = PBXBuildFile; productRef = 578E26D32FD41D9300A2749A /* NVActivityIndicatorView */; };+ 5790954D303C7D9100A53656 /* MarqueeLabel in Frameworks */ = {isa = PBXBuildFile; productRef = 578E24432FD3EEE300A2749A /* MarqueeLabel */; };+ 5790954E303C7D9100A53656 /* CollectionViewPagingLayout in Frameworks */ = {isa = PBXBuildFile; productRef = 578E20902FD16DA500A2749A /* CollectionViewPagingLayout */; };+ 5790954F303C7D9100A53656 /* ConfettiSwiftUI in Frameworks */ = {isa = PBXBuildFile; productRef = 57E48D902D8D736B008000A3 /* ConfettiSwiftUI */; };+ 57909550303C7D9100A53656 /* ZIPFoundation in Frameworks */ = {isa = PBXBuildFile; productRef = 578E24002FD31C0100A2749A /* ZIPFoundation */; };+ 57909551303C7D9100A53656 /* Unrar in Frameworks */ = {isa = PBXBuildFile; productRef = 57F8A0B42FD31C0100A274A4 /* Unrar */; };+ 57909552303C7D9100A53656 /* AttributedString in Frameworks */ = {isa = PBXBuildFile; productRef = 576C8D9930335C8100AEB08F /* AttributedString */; };57909556303C7D9100A53656 /* file_icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 57E0CCC62D9075110027FB8C /* file_icon.png */; };57909557303C7D9100A53656 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = A5A001FD24555A5F006E0F0E /* LaunchScreen.storyboard */; };57909558303C7D9100A53656 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = A5DE1F21256BC7F10099425B /* Localizable.strings */; };@@ -798,6 +797,11 @@57909605303D793A00A53656 /* gpsp.libretro.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 57909600303D792500A53656 /* gpsp.libretro.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };57909608303D794200A53656 /* gpsp.libretro.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 57909600303D792500A53656 /* gpsp.libretro.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };5790960E303D795200A53656 /* gpsp.libretro.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 57909600303D792500A53656 /* gpsp.libretro.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };+ 5790968F303EF38F00A53656 /* mesen-s.libretro.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 57909689303EF38000A53656 /* mesen-s.libretro.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };+ 57909690303EF39B00A53656 /* mesen-s.libretro.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 57909689303EF38000A53656 /* mesen-s.libretro.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };+ 57909691303EF3A300A53656 /* mesen-s.libretro.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 57909689303EF38000A53656 /* mesen-s.libretro.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };+ 579096B5303F065800A53656 /* HXPhotoPicker in Frameworks */ = {isa = PBXBuildFile; productRef = 579096B4303F065800A53656 /* HXPhotoPicker */; };+ 579096BB303F066D00A53656 /* HXPhotoPicker in Frameworks */ = {isa = PBXBuildFile; productRef = 579096BA303F066D00A53656 /* HXPhotoPicker */; };57913AF52D5D89CF004D51AA /* TouchController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57913AF42D5D89CC004D51AA /* TouchController.swift */; };57913B422D5ED722004D51AA /* GameInfoCoverView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57913B412D5ED722004D51AA /* GameInfoCoverView.swift */; };57913B532D5EF725004D51AA /* DateExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57913B522D5EF71D004D51AA /* DateExtension.swift */; };@@ -986,6 +990,9 @@57C79DD52FE3E664003C737F /* Functions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57C79DD22FE3E65D003C737F /* Functions.swift */; };57C79DE12FE3EC49003C737F /* ASSheetView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57C79DE02FE3EC43003C737F /* ASSheetView.swift */; };57C79DE22FE3EC49003C737F /* ASSheetView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57C79DE02FE3EC43003C737F /* ASSheetView.swift */; };+ 57C81DAE2FD6082600A8D0A1 /* LibretroNetplayAnalogDpad.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57C81DAD2FD6082600A8D0A1 /* LibretroNetplayAnalogDpad.swift */; };+ 57C81DAF2FD6082600A8D0A1 /* LibretroNetplayAnalogDpad.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57C81DAD2FD6082600A8D0A1 /* LibretroNetplayAnalogDpad.swift */; };+ 57C81DB02FD6082600A8D0A1 /* LibretroNetplayAnalogDpad.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57C81DAD2FD6082600A8D0A1 /* LibretroNetplayAnalogDpad.swift */; };57C8A11A2DF2BA3E00593F82 /* SNES.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57C8A1192DF2BA3500593F82 /* SNES.swift */; };57CC338E2DBC78AE00DF7418 /* FlexSkinSettingViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57CC338D2DBC789E00DF7418 /* FlexSkinSettingViewController.swift */; };57CC33BA2DBCD90700DF7418 /* AuxiliaryLineView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57CC33B92DBCD90700DF7418 /* AuxiliaryLineView.swift */; };@@ -1533,7 +1540,6 @@CB40A54BC3524226B63A8972 /* DNSPageView in Frameworks */ = {isa = PBXBuildFile; productRef = 578E20A22FD1B94E00A2749A /* DNSPageView */; };CE17343B61E1466393584BD7 /* Haptica in Frameworks */ = {isa = PBXBuildFile; productRef = 57C759052FD42BD80093A2B3 /* Haptica */; };D247CA47581E4F73B110A2B7 /* ZIPFoundation in Frameworks */ = {isa = PBXBuildFile; productRef = 578E24002FD31C0100A2749A /* ZIPFoundation */; };- D75AFB684C304BE19CF18B4D /* HXPhotoPicker in Frameworks */ = {isa = PBXBuildFile; productRef = 578E230E2FD2810B00A2749A /* HXPhotoPicker */; };D90358FF409D7405F5E406CC /* prboom.libretro.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 20B6A88FB41ED3142FD4FD9E /* prboom.libretro.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };D90F84D29ECD49358B4B71A1 /* SQLiteCipher in Frameworks */ = {isa = PBXBuildFile; productRef = 57C759862FD459310093A2B3 /* SQLiteCipher */; };D94752D7D273464B9E4B625C /* PCE.swift in Sources */ = {isa = PBXBuildFile; fileRef = A0E402E22DFA4C9D96FFBC89 /* PCE.swift */; };@@ -1613,6 +1619,7 @@dstPath = "";dstSubfolderSpec = 10;files = (+ 57909691303EF3A300A53656 /* mesen-s.libretro.framework in Embed Frameworks */,5790960E303D795200A53656 /* gpsp.libretro.framework in Embed Frameworks */,5790955E303C7D9100A53656 /* puae.libretro.framework in Embed Frameworks */,5790955F303C7D9100A53656 /* vice.x64sc.libretro.framework in Embed Frameworks */,@@ -1675,6 +1682,7 @@dstPath = "";dstSubfolderSpec = 10;files = (+ 5790968F303EF38F00A53656 /* mesen-s.libretro.framework in Embed Frameworks */,57909605303D793A00A53656 /* gpsp.libretro.framework in Embed Frameworks */,16D61BE375CD4F61ACCF0FF2 /* puae.libretro.framework in Embed Frameworks */,E5385955E04D43598CAC5694 /* vice.x64sc.libretro.framework in Embed Frameworks */,@@ -1727,6 +1735,7 @@dstPath = "";dstSubfolderSpec = 10;files = (+ 57909690303EF39B00A53656 /* mesen-s.libretro.framework in Embed Frameworks */,57909608303D794200A53656 /* gpsp.libretro.framework in Embed Frameworks */,E2162239F8584ED6843B9760 /* puae.libretro.framework in Embed Frameworks */,2197E4E9458342E6AF80B1BA /* vice.x64sc.libretro.framework in Embed Frameworks */,@@ -2068,6 +2077,7 @@579076EF2D8AAC2800ED90FB /* TransparentHoleView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TransparentHoleView.swift; sourceTree = "<group>"; };5790958B303C7D9100A53656 /* ManicEmuSideload.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ManicEmuSideload.app; sourceTree = BUILT_PRODUCTS_DIR; };57909600303D792500A53656 /* gpsp.libretro.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = gpsp.libretro.framework; sourceTree = "<group>"; };+ 57909689303EF38000A53656 /* mesen-s.libretro.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = "mesen-s.libretro.framework"; sourceTree = "<group>"; };57913AF42D5D89CC004D51AA /* TouchController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TouchController.swift; sourceTree = "<group>"; };57913B412D5ED722004D51AA /* GameInfoCoverView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GameInfoCoverView.swift; sourceTree = "<group>"; };57913B522D5EF71D004D51AA /* DateExtension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DateExtension.swift; sourceTree = "<group>"; };@@ -6427,6 +6437,7 @@57C75B612FD5741C0093A2B3 /* MetalToyView.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; name = MetalToyView.mm; path = ../Dependencies/Libretro/ui/drivers/MetalToyView.mm; sourceTree = SOURCE_ROOT; };57C79DD22FE3E65D003C737F /* Functions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Functions.swift; sourceTree = "<group>"; };57C79DE02FE3EC43003C737F /* ASSheetView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ASSheetView.swift; sourceTree = "<group>"; };+ 57C81DAD2FD6082600A8D0A1 /* LibretroNetplayAnalogDpad.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LibretroNetplayAnalogDpad.swift; sourceTree = "<group>"; };57C8A1192DF2BA3500593F82 /* SNES.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SNES.swift; sourceTree = "<group>"; };57CC338D2DBC789E00DF7418 /* FlexSkinSettingViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FlexSkinSettingViewController.swift; sourceTree = "<group>"; };57CC33B92DBCD90700DF7418 /* AuxiliaryLineView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AuxiliaryLineView.swift; sourceTree = "<group>"; };@@ -6603,63 +6614,63 @@files = (57909518303C7D9100A53656 /* Citra.framework in Frameworks */,57909519303C7D9100A53656 /* Libretro.framework in Frameworks */,- 5790951A303C7D9100A53656 /* (null) in Frameworks */,- 5790951B303C7D9100A53656 /* (null) in Frameworks */,- 5790951C303C7D9100A53656 /* (null) in Frameworks */,- 5790951D303C7D9100A53656 /* (null) in Frameworks */,- 5790951E303C7D9100A53656 /* (null) in Frameworks */,+ 5790951A303C7D9100A53656 /* Tiercel in Frameworks */,+ 5790951B303C7D9100A53656 /* GCDWebUploader in Frameworks */,+ 5790951C303C7D9100A53656 /* Kingfisher in Frameworks */,+ 5790951D303C7D9100A53656 /* HXPhotoPicker in Frameworks */,+ 5790951E303C7D9100A53656 /* Fuse in Frameworks */,+ 57909520303C7D9100A53656 /* Permission in Frameworks */,5790951F303C7D9100A53656 /* CoreBluetooth.framework in Frameworks */,- 57909520303C7D9100A53656 /* (null) in Frameworks */,- 57909521303C7D9100A53656 /* (null) in Frameworks */,- 57909522303C7D9100A53656 /* (null) in Frameworks */,- 57909523303C7D9100A53656 /* (null) in Frameworks */,- 57909524303C7D9100A53656 /* (null) in Frameworks */,- 57909525303C7D9100A53656 /* (null) in Frameworks */,- 57909526303C7D9100A53656 /* (null) in Frameworks */,- 57909527303C7D9100A53656 /* (null) in Frameworks */,- 57909528303C7D9100A53656 /* (null) in Frameworks */,- 57909529303C7D9100A53656 /* (null) in Frameworks */,- 5790952A303C7D9100A53656 /* (null) in Frameworks */,- 5790952B303C7D9100A53656 /* (null) in Frameworks */,- 5790952C303C7D9100A53656 /* (null) in Frameworks */,- 5790952D303C7D9100A53656 /* (null) in Frameworks */,- 5790952E303C7D9100A53656 /* (null) in Frameworks */,+ 57909521303C7D9100A53656 /* BlurUIKit in Frameworks */,+ 57909522303C7D9100A53656 /* DNSPageView in Frameworks */,+ 57909523303C7D9100A53656 /* SMBClient in Frameworks */,+ 57909524303C7D9100A53656 /* CollectionViewPagingLayout in Frameworks */,+ 57909525303C7D9100A53656 /* ChromaColorPicker in Frameworks */,+ 57909526303C7D9100A53656 /* Schedule in Frameworks */,+ 57909527303C7D9100A53656 /* Haptica in Frameworks */,+ 57909528303C7D9100A53656 /* ObjcExceptionBridging in Frameworks */,+ 57909529303C7D9100A53656 /* SwifterSwift in Frameworks */,+ 5790952A303C7D9100A53656 /* SnapKit in Frameworks */,+ 5790952B303C7D9100A53656 /* SQLiteCipher in Frameworks */,+ 5790952C303C7D9100A53656 /* JXBanner in Frameworks */,+ 5790952D303C7D9100A53656 /* FluentDarkModeKit in Frameworks */,+ 5790952E303C7D9100A53656 /* IceCream in Frameworks */,5790952F303C7D9100A53656 /* StoreKit.framework in Frameworks */,- 57909530303C7D9100A53656 /* (null) in Frameworks */,- 57909531303C7D9100A53656 /* (null) in Frameworks */,- 57909532303C7D9100A53656 /* (null) in Frameworks */,- 57909533303C7D9100A53656 /* (null) in Frameworks */,- 57909534303C7D9100A53656 /* (null) in Frameworks */,- 57909535303C7D9100A53656 /* (null) in Frameworks */,- 57909536303C7D9100A53656 /* (null) in Frameworks */,- 57909537303C7D9100A53656 /* (null) in Frameworks */,- 57909538303C7D9100A53656 /* (null) in Frameworks */,- 57909539303C7D9100A53656 /* (null) in Frameworks */,- 5790953A303C7D9100A53656 /* (null) in Frameworks */,- 5790953B303C7D9100A53656 /* (null) in Frameworks */,- 5790953C303C7D9100A53656 /* (null) in Frameworks */,- 5790953D303C7D9100A53656 /* (null) in Frameworks */,- 5790953E303C7D9100A53656 /* (null) in Frameworks */,- 5790953F303C7D9100A53656 /* (null) in Frameworks */,- 57909540303C7D9100A53656 /* (null) in Frameworks */,- 57909541303C7D9100A53656 /* (null) in Frameworks */,- 57909542303C7D9100A53656 /* (null) in Frameworks */,- 57909543303C7D9100A53656 /* (null) in Frameworks */,- 57909544303C7D9100A53656 /* (null) in Frameworks */,- 57909545303C7D9100A53656 /* (null) in Frameworks */,- 57909546303C7D9100A53656 /* (null) in Frameworks */,- 57909547303C7D9100A53656 /* (null) in Frameworks */,- 57909548303C7D9100A53656 /* (null) in Frameworks */,- 57909549303C7D9100A53656 /* (null) in Frameworks */,- 5790954A303C7D9100A53656 /* (null) in Frameworks */,- 5790954B303C7D9100A53656 /* (null) in Frameworks */,- 5790954C303C7D9100A53656 /* (null) in Frameworks */,- 5790954D303C7D9100A53656 /* (null) in Frameworks */,- 5790954E303C7D9100A53656 /* (null) in Frameworks */,- 5790954F303C7D9100A53656 /* (null) in Frameworks */,- 57909550303C7D9100A53656 /* (null) in Frameworks */,- 57909551303C7D9100A53656 /* (null) in Frameworks */,- 57909552303C7D9100A53656 /* (null) in Frameworks */,+ 57909530303C7D9100A53656 /* BlankSlate in Frameworks */,+ 57909531303C7D9100A53656 /* DeltaCore in Frameworks */,+ 57909532303C7D9100A53656 /* VisualEffectView in Frameworks */,+ 57909533303C7D9100A53656 /* Device in Frameworks */,+ 57909534303C7D9100A53656 /* ColorfulX in Frameworks */,+ 57909535303C7D9100A53656 /* SwiftSoup in Frameworks */,+ 57909536303C7D9100A53656 /* WebDavKit in Frameworks */,+ 57909537303C7D9100A53656 /* KeyboardKit in Frameworks */,+ 57909538303C7D9100A53656 /* DominantColors in Frameworks */,+ 57909539303C7D9100A53656 /* PLzmaSDK in Frameworks */,+ 5790953A303C7D9100A53656 /* CloudServiceKit in Frameworks */,+ 5790953B303C7D9100A53656 /* KeychainAccess in Frameworks */,+ 5790953C303C7D9100A53656 /* Fireworks in Frameworks */,+ 5790953D303C7D9100A53656 /* ZipArchive in Frameworks */,+ 5790953E303C7D9100A53656 /* SmartCodable in Frameworks */,+ 5790953F303C7D9100A53656 /* XCGLogger in Frameworks */,+ 57909540303C7D9100A53656 /* SDL in Frameworks */,+ 57909541303C7D9100A53656 /* UniversalDetector in Frameworks */,+ 57909542303C7D9100A53656 /* Closures in Frameworks */,+ 57909543303C7D9100A53656 /* SideMenu in Frameworks */,+ 57909544303C7D9100A53656 /* ColorfulX in Frameworks */,+ 57909545303C7D9100A53656 /* RswiftLibrary in Frameworks */,+ 57909546303C7D9100A53656 /* SwiftCloudDrive in Frameworks */,+ 57909547303C7D9100A53656 /* BetterSegmentedControl in Frameworks */,+ 57909548303C7D9100A53656 /* ProHUD in Frameworks */,+ 57909549303C7D9100A53656 /* DeltaCore in Frameworks */,+ 5790954A303C7D9100A53656 /* IQKeyboardManagerSwift in Frameworks */,+ 5790954B303C7D9100A53656 /* SFSafeSymbols in Frameworks */,+ 5790954C303C7D9100A53656 /* NVActivityIndicatorView in Frameworks */,+ 5790954D303C7D9100A53656 /* MarqueeLabel in Frameworks */,+ 5790954E303C7D9100A53656 /* CollectionViewPagingLayout in Frameworks */,+ 5790954F303C7D9100A53656 /* ConfettiSwiftUI in Frameworks */,+ 57909550303C7D9100A53656 /* ZIPFoundation in Frameworks */,+ 57909551303C7D9100A53656 /* Unrar in Frameworks */,+ 57909552303C7D9100A53656 /* AttributedString in Frameworks */,);runOnlyForDeploymentPostprocessing = 0;};@@ -6705,10 +6716,10 @@EAE31C39F6FF42DE8F5BA497 /* Schedule in Frameworks */,CE17343B61E1466393584BD7 /* Haptica in Frameworks */,5F5353532F884986BF3BA407 /* ObjcExceptionBridging in Frameworks */,- D75AFB684C304BE19CF18B4D /* HXPhotoPicker in Frameworks */,579453AF2FE4262700D32DD6 /* ProHUD in Frameworks */,71ABA13BC5694ED39346ED6C /* SwifterSwift in Frameworks */,000FF60D4C0C45458B42CDD8 /* SnapKit in Frameworks */,+ 579096B5303F065800A53656 /* HXPhotoPicker in Frameworks */,D90F84D29ECD49358B4B71A1 /* SQLiteCipher in Frameworks */,AE5A3FEEB61B4A0B9DB6C05A /* JXBanner in Frameworks */,C77E86321B3D4F4C8DF998E2 /* FluentDarkModeKit in Frameworks */,@@ -6763,6 +6774,7 @@57C759102FD42C710093A2B3 /* Tiercel in Frameworks */,578E23872FD2981800A2749A /* GCDWebUploader in Frameworks */,57C759242FD42D960093A2B3 /* Kingfisher in Frameworks */,+ 579096BB303F066D00A53656 /* HXPhotoPicker in Frameworks */,57C7591F2FD42D480093A2B3 /* Fuse in Frameworks */,578E26C92FD41B6300A2749A /* Permission in Frameworks */,571748392DA26F1E007CCE25 /* CoreBluetooth.framework in Frameworks */,@@ -6774,7 +6786,6 @@57C7591A2FD42D030093A2B3 /* Schedule in Frameworks */,57C759062FD42BD80093A2B3 /* Haptica in Frameworks */,5713306C2D91AFE00043C28A /* ObjcExceptionBridging in Frameworks */,- 578E230F2FD2810B00A2749A /* HXPhotoPicker in Frameworks */,578E246B2FD4017E00A2749A /* SwifterSwift in Frameworks */,578E1FF62FD16A4600A2749A /* SnapKit in Frameworks */,57C759872FD459310093A2B3 /* SQLiteCipher in Frameworks */,@@ -12463,6 +12474,7 @@57C75AD42FD572260093A2B3 /* Cores */ = {isa = PBXGroup;children = (+ 57909689303EF38000A53656 /* mesen-s.libretro.framework */,03741E2E8CB24E5790E97476 /* puae.libretro.framework */,6A6021052A14459DA6F729AB /* vice.x64sc.libretro.framework */,4C56A0D131A148448EA9816B /* mednafen.ngp.libretro.framework */,@@ -12675,6 +12687,7 @@57BFBE8F2DD435C700AABF98 /* PSP.swift */,571BB8062DA4357900830134 /* ThreeDS.swift */,578E24202FD33FFC00A2749A /* EmulatorBridgingBase.swift */,+ 57C81DAD2FD6082600A8D0A1 /* LibretroNetplayAnalogDpad.swift */,);path = Cores;sourceTree = "<group>";@@ -13297,7 +13310,6 @@57B592552FD07B05003C4235 /* XCRemoteSwiftPackageReference "SFSafeSymbols" */,578E22992FD1D57B00A2749A /* XCRemoteSwiftPackageReference "SMBClient" */,578E23012FD27DA800A2749A /* XCRemoteSwiftPackageReference "CloudServiceKit" */,- 578E230D2FD2810B00A2749A /* XCRemoteSwiftPackageReference "HXPhotoPicker" */,578E231E2FD288C500A2749A /* XCRemoteSwiftPackageReference "Closures" */,578E23852FD2981800A2749A /* XCRemoteSwiftPackageReference "GCDWebServer" */,578E23A32FD2AA0600A2749A /* XCRemoteSwiftPackageReference "BlankSlate" */,@@ -13335,6 +13347,7 @@57ABFACF2FE9849C001C1425 /* XCLocalSwiftPackageReference "../Dependencies/DNSPageView" */,57F1D5162FFF962400FC5B2A /* XCLocalSwiftPackageReference "../Dependencies/DeltaCore" */,576C8C5A3032B57A00AEB08F /* XCLocalSwiftPackageReference "../Dependencies/IceCream" */,+ 579096CF303F0B4C00A53656 /* XCRemoteSwiftPackageReference "HXPhotoPicker" */,);productRefGroup = A5A001F024555A5F006E0F0E /* Products */;projectDirPath = "";@@ -13608,6 +13621,7 @@5790941D303C7D9100A53656 /* FlexBackground.swift in Sources */,5790941E303C7D9100A53656 /* SectionIndexView.swift in Sources */,5790941F303C7D9100A53656 /* EmulatorBridgingBase.swift in Sources */,+ 57C81DAF2FD6082600A8D0A1 /* LibretroNetplayAnalogDpad.swift in Sources */,57909420303C7D9100A53656 /* GameSavePurchaseGuideView.swift in Sources */,57909421303C7D9100A53656 /* J2MENetworkBridge.swift in Sources */,57909422303C7D9100A53656 /* TriggerProPreviewController.swift in Sources */,@@ -14054,6 +14068,7 @@57CDCDFF2FD5CBD3005BA4C8 /* FlexBackground.swift in Sources */,57CDCE002FD5CBD3005BA4C8 /* SectionIndexView.swift in Sources */,57CDCE052FD5CBD3005BA4C8 /* EmulatorBridgingBase.swift in Sources */,+ 57C81DB02FD6082600A8D0A1 /* LibretroNetplayAnalogDpad.swift in Sources */,57CDCE062FD5CBD3005BA4C8 /* GameSavePurchaseGuideView.swift in Sources */,57CDCE072FD5CBD3005BA4C8 /* J2MENetworkBridge.swift in Sources */,57CDCE082FD5CBD3005BA4C8 /* TriggerProPreviewController.swift in Sources */,@@ -14463,6 +14478,7 @@573CEE3D2F21431300EA24F1 /* FlexBackground.swift in Sources */,574789BC2D4F8769006F0D99 /* SectionIndexView.swift in Sources */,578E24232FD3400700A2749A /* EmulatorBridgingBase.swift in Sources */,+ 57C81DAE2FD6082600A8D0A1 /* LibretroNetplayAnalogDpad.swift in Sources */,576F0E052D88006300D2A1BA /* GameSavePurchaseGuideView.swift in Sources */,572C5CB42F6E983600776F8C /* J2MENetworkBridge.swift in Sources */,57D7CF592EA78B2B00F41540 /* TriggerProPreviewController.swift in Sources */,@@ -15855,6 +15871,10 @@isa = XCLocalSwiftPackageReference;relativePath = ../Dependencies/IceCream;};+ 579096A9303F062500A53656 /* XCLocalSwiftPackageReference "../Dependencies/HXPhotoPicker" */ = {+ isa = XCLocalSwiftPackageReference;+ relativePath = ../Dependencies/HXPhotoPicker;+ };579453AD2FE4262700D32DD6 /* XCLocalSwiftPackageReference "../Dependencies/ProHUD" */ = {isa = XCLocalSwiftPackageReference;relativePath = ../Dependencies/ProHUD;@@ -15986,14 +16006,6 @@kind = branch;};};- 578E230D2FD2810B00A2749A /* XCRemoteSwiftPackageReference "HXPhotoPicker" */ = {- isa = XCRemoteSwiftPackageReference;- repositoryURL = "https://github.com/SilenceLove/HXPhotoPicker.git";- requirement = {- kind = exactVersion;- version = 5.0.5;- };- };578E231E2FD288C500A2749A /* XCRemoteSwiftPackageReference "Closures" */ = {isa = XCRemoteSwiftPackageReference;repositoryURL = "https://github.com/Daiuno/Closures.git";@@ -16122,6 +16134,14 @@kind = branch;};};+ 579096CF303F0B4C00A53656 /* XCRemoteSwiftPackageReference "HXPhotoPicker" */ = {+ isa = XCRemoteSwiftPackageReference;+ repositoryURL = "https://github.com/Daiuno/HXPhotoPicker.git";+ requirement = {+ branch = master;+ kind = branch;+ };+ };579E544F2FD4237B000F08E7 /* XCRemoteSwiftPackageReference "FluentDarkModeKit" */ = {isa = XCRemoteSwiftPackageReference;repositoryURL = "https://github.com/Daiuno/FluentDarkModeKit.git";@@ -16411,11 +16431,6 @@package = 578E23012FD27DA800A2749A /* XCRemoteSwiftPackageReference "CloudServiceKit" */;productName = CloudServiceKit;};- 578E230E2FD2810B00A2749A /* HXPhotoPicker */ = {- isa = XCSwiftPackageProductDependency;- package = 578E230D2FD2810B00A2749A /* XCRemoteSwiftPackageReference "HXPhotoPicker" */;- productName = HXPhotoPicker;- };578E231F2FD288C600A2749A /* Closures */ = {isa = XCSwiftPackageProductDependency;package = 578E231E2FD288C500A2749A /* XCRemoteSwiftPackageReference "Closures" */;@@ -16494,6 +16509,16 @@package = 578E26E12FD41F8200A2749A /* XCRemoteSwiftPackageReference "Device" */;productName = Device;};+ 579096B4303F065800A53656 /* HXPhotoPicker */ = {+ isa = XCSwiftPackageProductDependency;+ package = 579096A9303F062500A53656 /* XCLocalSwiftPackageReference "../Dependencies/HXPhotoPicker" */;+ productName = HXPhotoPicker;+ };+ 579096BA303F066D00A53656 /* HXPhotoPicker */ = {+ isa = XCSwiftPackageProductDependency;+ package = 579096A9303F062500A53656 /* XCLocalSwiftPackageReference "../Dependencies/HXPhotoPicker" */;+ productName = HXPhotoPicker;+ };579453AE2FE4262700D32DD6 /* ProHUD */ = {isa = XCSwiftPackageProductDependency;productName = ProHUD;diff --git a/ManicEmu/ManicEmu.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/ManicEmu/ManicEmu.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolvedindex 26ccbee0..07a4fe73 100644--- a/ManicEmu/ManicEmu.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved+++ b/ManicEmu/ManicEmu.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved@@ -1,5 +1,5 @@{- "originHash" : "a5f02b2a5812d5fa1b6bcbff54266d2e580a007e23b5ee1d2fd99d2df0ff00b8",+ "originHash" : "f75ade9c50361fec160206aba998c9da3a1e21c9d4581c349ecda999dd4d551c","pins" : [{"identity" : "attributedstring",@@ -192,10 +192,10 @@{"identity" : "hxphotopicker","kind" : "remoteSourceControl",- "location" : "https://github.com/SilenceLove/HXPhotoPicker.git",+ "location" : "https://github.com/Daiuno/HXPhotoPicker.git","state" : {- "revision" : "bb14e10ef4d8c4e30d509dad13278e9495e37bfa",- "version" : "5.0.5"+ "branch" : "master",+ "revision" : "722de24e6bbe9c175e0abeaf2fe9375f243d2f87"}},{@@ -378,15 +378,6 @@"revision" : "f8a53257000061980d45a619b8fae7c49b10bbc3"}},- {- "identity" : "unrar.swift",- "kind" : "remoteSourceControl",- "location" : "https://github.com/mtgto/Unrar.swift",- "state" : {- "revision" : "7216007a38ac122dbdeae26cfdaf7f10775c868f",- "version" : "0.5.4"- }- },{"identity" : "plzmasdk","kind" : "remoteSourceControl",@@ -602,6 +593,15 @@"revision" : "08dbaa487a89fe83396150735f2b94f3990d2f4a"}},+ {+ "identity" : "unrar.swift",+ "kind" : "remoteSourceControl",+ "location" : "https://github.com/mtgto/Unrar.swift",+ "state" : {+ "revision" : "7216007a38ac122dbdeae26cfdaf7f10775c868f",+ "version" : "0.5.4"+ }+ },{"identity" : "visualeffectview","kind" : "remoteSourceControl",diff --git a/ManicEmu/ManicEmu/Resources/Config-Base.xcconfig b/ManicEmu/ManicEmu/Resources/Config-Base.xcconfigindex 28ced99e..ab9926c8 100644--- a/ManicEmu/ManicEmu/Resources/Config-Base.xcconfig+++ b/ManicEmu/ManicEmu/Resources/Config-Base.xcconfig@@ -11,7 +11,7 @@// https://help.apple.com/xcode/#/dev745c5c974APP_BUNDLE_IDENTIFIER = com.aoshuang.manicemu-APP_BUILD_VERSION = 8+APP_BUILD_VERSION = 9APP_VERSION = 2.0.0// Prebuilt cores under ProjectManicEMU/Cores (Citra.framework, *.libretro.framework, …)diff --git a/ManicEmu/ManicEmu/Resources/Info.plist b/ManicEmu/ManicEmu/Resources/Info.plistindex c106365e..95c3a0d7 100644--- a/ManicEmu/ManicEmu/Resources/Info.plist+++ b/ManicEmu/ManicEmu/Resources/Info.plist@@ -1681,7 +1681,6 @@<dict><key>public.filename-extension</key><array>- <string>zip</string><string>sav</string><string>dsv</string><string>srm</string>diff --git a/ManicEmu/ManicEmu/Resources/en.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/en.lproj/Localizable.stringsindex 7a6bf190..52c5ab1f 100644--- a/ManicEmu/ManicEmu/Resources/en.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/en.lproj/Localizable.strings@@ -1055,5 +1055,7 @@ Press the controller button to complete mapping...";"AchievementsNoSubset" = "This game has no extra achievement sets. You can enable subsets for this game on retroachievements.org.\n\nGames with Multiset enabled show a \"Subset Configuration\" button next to the set selector. Use it to enable or disable any set for the game.";"AchievementsMultiSetsGuide" = "This only switches which achievement list is shown. Changing the selected set does not affect earning achievements from any set while you play.";"GoToSettings" = "Go to Settings";-"SymbianSaveTips" = "Symbian apps don't share a common save format. Please use the Files app to open: Manic EMU - EKA2L1 to manage your save files on your own.";++"DCSaveTips" = "Dreamcast stores game progress on VMU memory cards. Please use the Files app to open: Manic EMU - Flycast - dc to manage your save files on your own.";+"DoomSaveTips" = "Please use the Files app to open: Manic EMU - PrBoom - doom to manage your save files on your own.";diff --git a/ManicEmu/ManicEmu/Resources/zh-Hans.lproj/Localizable.strings b/ManicEmu/ManicEmu/Resources/zh-Hans.lproj/Localizable.stringsindex c50f7ee1..8fcb7c1c 100644--- a/ManicEmu/ManicEmu/Resources/zh-Hans.lproj/Localizable.strings+++ b/ManicEmu/ManicEmu/Resources/zh-Hans.lproj/Localizable.strings@@ -1052,3 +1052,6 @@"GoToSettings" = "去设置";"SymbianSaveTips" = "Symbian 应用没有统一的存档规范。请使用“文件”App 打开:Manic EMU - EKA2L1,自行管理存档文件。";++"DCSaveTips" = "Dreamcast 使用 VMU 存储卡保存游戏进度。请使用“文件”App 打开:Manic EMU - Flycast - dc,自行管理存档文件。";+"DoomSaveTips" = "请使用“文件”App 打开:Manic EMU - PrBoom - doom,自行管理存档文件。";diff --git a/ManicEmu/ManicEmu/Sources/Business/Common/Models/ASListPage.swift b/ManicEmu/ManicEmu/Sources/Business/Common/Models/ASListPage.swiftindex 4577bc89..5c38dc30 100644--- a/ManicEmu/ManicEmu/Sources/Business/Common/Models/ASListPage.swift+++ b/ManicEmu/ManicEmu/Sources/Business/Common/Models/ASListPage.swift@@ -50,6 +50,8 @@ struct ASListPage {return .radio(.init(isSelected: isSelected))case .check:return .check(.init(isSelected: isSelected))+ case .chevron:+ return .chevron(.init())}}diff --git a/ManicEmu/ManicEmu/Sources/Business/Common/Models/ASSheet.swift b/ManicEmu/ManicEmu/Sources/Business/Common/Models/ASSheet.swiftindex d30a0110..5bf6bfad 100644--- a/ManicEmu/ManicEmu/Sources/Business/Common/Models/ASSheet.swift+++ b/ManicEmu/ManicEmu/Sources/Business/Common/Models/ASSheet.swift@@ -11,7 +11,7 @@ struct ASSheet {///Except for the custom type, it will automatically handle the indentation issues at the top and bottom.enum Style {enum OptionsType {- case simple, radio, check+ case simple, radio, check, chevron}case listPage(ASListPage)diff --git a/ManicEmu/ManicEmu/Sources/Business/Games/Models/GameOption.swift b/ManicEmu/ManicEmu/Sources/Business/Games/Models/GameOption.swiftindex f5b0cf52..f1f78bc6 100644--- a/ManicEmu/ManicEmu/Sources/Business/Games/Models/GameOption.swift+++ b/ManicEmu/ManicEmu/Sources/Business/Games/Models/GameOption.swift@@ -1067,15 +1067,15 @@ enum GameOption: Int, CaseIterable {}if game.isDOSHomeMenuGame {- allOptions.subtract([.stateList, .importSave, .shareSave, .changeCategory, .shareRom])+ allOptions.subtract([.stateList, .shareRom])}- if !game.supportChangeCategory {- allOptions.remove(.changeCategory)+ if !game.supportSave {+ allOptions.subtract([.importSave, .shareSave])}- if game.gameType == .dc {- allOptions.remove(.importSave)+ if !game.supportChangeCategory {+ allOptions.remove(.changeCategory)}if !game.supportRetroAchievements {@@ -1142,6 +1142,10 @@ enum GameOption: Int, CaseIterable {allOptions.remove(.snesVRAM)}+ if game.gameType == .snes, game.defaultCore == 2 {+ allOptions.remove(.snesVRAM)+ }+if !game.supportCoreSettings {allOptions.remove(.coreSettings)}diff --git a/ManicEmu/ManicEmu/Sources/Business/Games/Models/GameOptionPerform.swift b/ManicEmu/ManicEmu/Sources/Business/Games/Models/GameOptionPerform.swiftindex 71326a3d..8f3b1e80 100644--- a/ManicEmu/ManicEmu/Sources/Business/Games/Models/GameOptionPerform.swift+++ b/ManicEmu/ManicEmu/Sources/Business/Games/Models/GameOptionPerform.swift@@ -56,19 +56,15 @@ extension GameOption {ShareManager.shareFiles(games: games, shareFileType: .rom)case .importSave:- if firstGame.isDolphinCore {- UIView.makeAlert(title: R.string.localizable.focusShortcutsTips(),- detail: R.string.localizable.dolphinSaveTips(),- cancelTitle: R.string.localizable.gotIt())+ if showSaveTipsIfNeed(games: games) {return}- if firstGame.gameType == .symbian {- UIView.makeAlert(title: R.string.localizable.focusShortcutsTips(),- detail: R.string.localizable.symbianSaveTips(),- cancelTitle: R.string.localizable.gotIt())- return+ var types = UTType.gamesaveTypes+ if firstGame.gameType == .dos,+ let zip = UTType(filenameExtension: "zip") {+ types += [zip]}- FilesImporter.shared.presentImportController(supportedTypes: UTType.gamesaveTypes, allowsMultipleSelection: false) { urls in+ FilesImporter.shared.presentImportController(supportedTypes: types, allowsMultipleSelection: false) { urls inif var url = urls.first {if firstGame.gameType == ._3ds || firstGame.gameType == .psp {FilesImporter.importFiles(urls: [url])@@ -100,16 +96,7 @@ extension GameOption {}case .shareSave:- if games.contains(where: { $0.isDolphinCore }) {- UIView.makeAlert(title: R.string.localizable.focusShortcutsTips(),- detail: R.string.localizable.dolphinSaveTips(),- cancelTitle: R.string.localizable.gotIt())- return- }- if games.contains(where: { $0.gameType == .symbian }) {- UIView.makeAlert(title: R.string.localizable.focusShortcutsTips(),- detail: R.string.localizable.symbianSaveTips(),- cancelTitle: R.string.localizable.gotIt())+ if showSaveTipsIfNeed(games: games) {return}ShareManager.shareFiles(games: games, shareFileType: .save)@@ -1300,6 +1287,7 @@ extension GameOption {detail: detail,options: options,selectedIndex: selectedIndex,+ optionType: firstGame.gameType == .fds ? .chevron : .radio,groupTogether: true,completion: { index inif let index {@@ -1635,4 +1623,25 @@ extension GameOption {UIView.hideAllAlert()}}++ private func showSaveTipsIfNeed(games: [Game]) -> Bool {+ var tips: String? = nil+ if games.contains(where: { $0.isDolphinCore }) {+ tips = R.string.localizable.dolphinSaveTips()+ } else if games.contains(where: { $0.gameType == .symbian }) {+ tips = R.string.localizable.symbianSaveTips()+ } else if games.contains(where: { $0.gameType == .dc }) {+ tips = R.string.localizable.dcSaveTips()+ } else if games.contains(where: { $0.gameType == .doom }) {+ tips = R.string.localizable.doomSaveTips()+ }+ if let tips {+ UIView.makeAlert(title: R.string.localizable.focusShortcutsTips(),+ detail: tips,+ cancelTitle: R.string.localizable.gotIt())+ return true+ } else {+ return false+ }+ }}diff --git a/ManicEmu/ManicEmu/Sources/Business/Games/Models/GameOptionTypes.swift b/ManicEmu/ManicEmu/Sources/Business/Games/Models/GameOptionTypes.swiftindex f52c0925..20269e87 100644--- a/ManicEmu/ManicEmu/Sources/Business/Games/Models/GameOptionTypes.swift+++ b/ManicEmu/ManicEmu/Sources/Business/Games/Models/GameOptionTypes.swift@@ -213,7 +213,7 @@ extension GameOption {var shortTitle: String {switch self {- case .None: ""+ case .None: R.string.localizable.off()case .DMG: "DMG"case .Light: "Light"case .Pocket: "Pocket"@@ -235,7 +235,7 @@ extension GameOption {var optionForGambatte: String {switch self {case .None:- ""+ R.string.localizable.off()case .DMG:"GB - DMG"case .Light:diff --git a/ManicEmu/ManicEmu/Sources/Business/Play/Models/Game.swift b/ManicEmu/ManicEmu/Sources/Business/Play/Models/Game.swiftindex dc2fc96f..172e7ca8 100644--- a/ManicEmu/ManicEmu/Sources/Business/Play/Models/Game.swift+++ b/ManicEmu/ManicEmu/Sources/Business/Play/Models/Game.swift@@ -398,6 +398,8 @@ class Game: Object, ObjectUpdatable {}} else if defaultCore == 1 {return .Snes9x+ } else if defaultCore == 2 {+ return .MesenS}} else if isPicodriveCore {return .PicoDrive@@ -499,6 +501,8 @@ class Game: Object, ObjectUpdatable {}} else if defaultCore == 1 {return Bundle.main.path(forResource: "snes9x.libretro", ofType: "framework", inDirectory: "Frameworks")+ } else if defaultCore == 2 {+ return Bundle.main.path(forResource: "mesen-s.libretro", ofType: "framework", inDirectory: "Frameworks")}} else if isPicodriveCore {return Bundle.main.path(forResource: "picodrive.libretro", ofType: "framework", inDirectory: "Frameworks")@@ -531,6 +535,8 @@ class Game: Object, ObjectUpdatable {return Bundle.main.path(forResource: "mgba.libretro", ofType: "framework", inDirectory: "Frameworks")} else if defaultCore == 2 {return Bundle.main.path(forResource: "vbam.libretro", ofType: "framework", inDirectory: "Frameworks")+ } else if defaultCore == 3 {+ return Bundle.main.path(forResource: "mesen-s.libretro", ofType: "framework", inDirectory: "Frameworks")}} else if gameType == .gba {if defaultCore == 0 {@@ -705,6 +711,8 @@ class Game: Object, ObjectUpdatable {return true} else if gameType == .dos, let diskCount = diskInfo?.diskCount, diskCount > 0 {return true+ } else if gameType == .fds {+ return true}return false}@@ -1020,7 +1028,10 @@ class Game: Object, ObjectUpdatable {}var supportChangeCategory: Bool {- if gameType == .gb || gameType == .dos || gameType == .pce || gameType == .ngp {+ if gameType == .gb ||+ (gameType == .dos && !isDOSHomeMenuGame) ||+ gameType == .pce ||+ gameType == .ngp {return true}return false@@ -1109,7 +1120,8 @@ class Game: Object, ObjectUpdatable {isClownMDEmuCore ||gameType == .pce ||gameType == .amiga ||- gameType == .c64 {+ gameType == .c64 ||+ gameType == .sg1000 {return false}return true@@ -1260,7 +1272,7 @@ class Game: Object, ObjectUpdatable {var supportPalette: Bool {if gameType == .nes ||gameType == .fds ||- gameType == .gb ||+ (gameType == .gb && defaultCore != 3) ||gameType == .vb ||gameType == .pm {return true@@ -1300,6 +1312,15 @@ class Game: Object, ObjectUpdatable {return true}+ var supportSave: Bool {+ if isDOSHomeMenuGame ||+ gameType == .sg1000 {+ return false+ }+ return true+ }++var gameCoverIcon: ASIcon {let icon: ASIconif let imageData = gameCover?.storedData(),diff --git a/ManicEmu/ManicEmu/Sources/Business/Play/VIewControllers/PlayViewController.swift b/ManicEmu/ManicEmu/Sources/Business/Play/VIewControllers/PlayViewController.swiftindex 93f543dd..3e7f4fe3 100644--- a/ManicEmu/ManicEmu/Sources/Business/Play/VIewControllers/PlayViewController.swift+++ b/ManicEmu/ManicEmu/Sources/Business/Play/VIewControllers/PlayViewController.swift@@ -744,7 +744,7 @@ class PlayViewController: GameViewController {} else if manicGame.gameType == .pce {make.top.equalTo(gameView.snp.bottom).offset(R.Size.ContentSpaceMedium)} else if manicGame.gameType == .ds, UIDevice.isPad {- make.top.equalTo(gameView.snp.bottom).offset(R.Size.ContentSpaceHuge)+ make.top.equalTo(gameView.snp.bottom).offset(UIDevice.isLandscape ? 25 : 18)} else {make.top.equalTo(gameView.snp.bottom)}@@ -2490,13 +2490,12 @@ extension PlayViewController {guard shortcuts.count > 0 else { return }let functionButtonCount = shortcuts.countfor (index, shortcut) in shortcuts.enumerated() {- var iconColor = R.Color.LabelTertiary- if manicGame.gameType.usesDOSSkinLayout {- iconColor = R.Color.LabelTertiary.forceStyle(.dark)- } else if manicGame.isDolphinCore {- iconColor = UIColor.black.withAlphaComponent(0.25)- } else if manicGame.gameType == .pce {- iconColor = UIColor(hexString: "#8F8F92")!+ var iconColor = UIColor.white.withAlphaComponent(0.25)+ if (manicGame.gameType == .ds && UIDevice.isPad) ||+ manicGame.gameType == .wii ||+ (manicGame.gameType == .pce && !UIDevice.isLandscape) ||+ manicGame.gameType.usesDOSSkinLayout {+ iconColor = .black.withAlphaComponent(0.25)}let buttonContainerView = UIView()let button = ASButtonView(.iconOnlyWithSmallSize(icon: shortcut.icon.updateColorsIfNeed(colors: [iconColor], forceUpdate: true),diff --git a/ManicEmu/ManicEmu/Sources/Tools/Cores/32X.swift b/ManicEmu/ManicEmu/Sources/Tools/Cores/32X.swiftindex f4fb6652..0029b38c 100644--- a/ManicEmu/ManicEmu/Sources/Tools/Cores/32X.swift+++ b/ManicEmu/ManicEmu/Sources/Tools/Cores/32X.swift@@ -96,8 +96,6 @@ struct S2X: DeltaCoreProtocol {class S2XEmulatorBridge : EmulatorBridgeBase {static let shared = S2XEmulatorBridge()- private var thumbstickPosition: CGPoint = .zero-override func activateInput(_ input: Int, value: Double, playerIndex: Int) {guard playerIndex >= 0 else { return }if let gameInput = S2XGameInput(rawValue: input) {diff --git a/ManicEmu/ManicEmu/Sources/Tools/Cores/Arcade.swift b/ManicEmu/ManicEmu/Sources/Tools/Cores/Arcade.swiftindex 44424633..a4451c9d 100644--- a/ManicEmu/ManicEmu/Sources/Tools/Cores/Arcade.swift+++ b/ManicEmu/ManicEmu/Sources/Tools/Cores/Arcade.swift@@ -107,28 +107,31 @@ class ArcadeEmulatorBridge : EmulatorBridgeBase {private var thumbstickPosition: CGPoint = .zero+ private let analogDpad = LibretroNetplayAnalogDpad()+override func activateInput(_ input: Int, value: Double, playerIndex: Int) {guard playerIndex >= 0 else { return }if input == ArcadeGameInput.leftThumbstickUp || input == ArcadeGameInput.leftThumbstickDown {leftThumbstickPosition.y = input == ArcadeGameInput.leftThumbstickUp ? value : -value- LibretroCore.sharedInstance().moveStick(true, x: leftThumbstickPosition.x, y: leftThumbstickPosition.y, playerIndex: UInt32(playerIndex))+ analogDpad.moveStick(isLeft: true, x: leftThumbstickPosition.x, y: leftThumbstickPosition.y, playerIndex: playerIndex)} else if input == ArcadeGameInput.leftThumbstickLeft || input == ArcadeGameInput.leftThumbstickRight {leftThumbstickPosition.x = input == ArcadeGameInput.leftThumbstickRight ? value : -value- LibretroCore.sharedInstance().moveStick(true, x: leftThumbstickPosition.x, y: leftThumbstickPosition.y, playerIndex: UInt32(playerIndex))+ analogDpad.moveStick(isLeft: true, x: leftThumbstickPosition.x, y: leftThumbstickPosition.y, playerIndex: playerIndex)} else if input == ArcadeGameInput.rightThumbstickUp || input == ArcadeGameInput.rightThumbstickDown {rightThumbstickPosition.y = input == ArcadeGameInput.rightThumbstickUp ? value : -valueLibretroCore.sharedInstance().moveStick(false, x: rightThumbstickPosition.x, y: rightThumbstickPosition.y, playerIndex: UInt32(playerIndex))} else if input == ArcadeGameInput.rightThumbstickLeft || input == ArcadeGameInput.rightThumbstickRight {rightThumbstickPosition.x = input == ArcadeGameInput.rightThumbstickRight ? value : -valueLibretroCore.sharedInstance().moveStick(false, x: rightThumbstickPosition.x, y: rightThumbstickPosition.y, playerIndex: UInt32(playerIndex))- } else {- if let gameInput = ArcadeGameInput(rawValue: input),- let libretroButton = gameInputToCoreInput(gameInput: gameInput) {+ } else if let gameInput = ArcadeGameInput(rawValue: input),+ let libretroButton = gameInputToCoreInput(gameInput: gameInput) {+ if analogDpad.handleDpad(libretroButton, pressed: true, playerIndex: playerIndex) {+ return+ }#if DEBUGLog.debug("🎮 \(objectInfo(self)) 点击了:\(gameInput)")#endif- LibretroCore.sharedInstance().press(libretroButton, playerIndex: UInt32(playerIndex))- }+ LibretroCore.sharedInstance().press(libretroButton, playerIndex: UInt32(playerIndex))}}@@ -155,21 +158,22 @@ Log.debug("🎮 \(objectInfo(self)) 点击了:\(gameInput)")override func deactivateInput(_ input: Int, playerIndex: Int) {if input == ArcadeGameInput.leftThumbstickUp || input == ArcadeGameInput.leftThumbstickDown {leftThumbstickPosition.y = 0- LibretroCore.sharedInstance().moveStick(true, x: leftThumbstickPosition.x, y: leftThumbstickPosition.y, playerIndex: UInt32(playerIndex))+ analogDpad.moveStick(isLeft: true, x: leftThumbstickPosition.x, y: leftThumbstickPosition.y, playerIndex: playerIndex)} else if input == ArcadeGameInput.leftThumbstickLeft || input == ArcadeGameInput.leftThumbstickRight {leftThumbstickPosition.x = 0- LibretroCore.sharedInstance().moveStick(true, x: leftThumbstickPosition.x, y: leftThumbstickPosition.y, playerIndex: UInt32(playerIndex))+ analogDpad.moveStick(isLeft: true, x: leftThumbstickPosition.x, y: leftThumbstickPosition.y, playerIndex: playerIndex)} else if input == ArcadeGameInput.rightThumbstickUp || input == ArcadeGameInput.rightThumbstickDown {rightThumbstickPosition.y = 0LibretroCore.sharedInstance().moveStick(false, x: rightThumbstickPosition.x, y: rightThumbstickPosition.y, playerIndex: UInt32(playerIndex))} else if input == ArcadeGameInput.rightThumbstickLeft || input == ArcadeGameInput.rightThumbstickRight {rightThumbstickPosition.x = 0LibretroCore.sharedInstance().moveStick(false, x: rightThumbstickPosition.x, y: rightThumbstickPosition.y, playerIndex: UInt32(playerIndex))- } else {- if let gameInput = ArcadeGameInput(rawValue: input),- let libretroButton = gameInputToCoreInput(gameInput: gameInput) {- LibretroCore.sharedInstance().release(libretroButton, playerIndex: UInt32(playerIndex))+ } else if let gameInput = ArcadeGameInput(rawValue: input),+ let libretroButton = gameInputToCoreInput(gameInput: gameInput) {+ if analogDpad.handleDpad(libretroButton, pressed: false, playerIndex: playerIndex) {+ return}+ LibretroCore.sharedInstance().release(libretroButton, playerIndex: UInt32(playerIndex))}}}diff --git a/ManicEmu/ManicEmu/Sources/Tools/Cores/DOS.swift b/ManicEmu/ManicEmu/Sources/Tools/Cores/DOS.swiftindex 7a24e94c..236ab4ab 100644--- a/ManicEmu/ManicEmu/Sources/Tools/Cores/DOS.swift+++ b/ManicEmu/ManicEmu/Sources/Tools/Cores/DOS.swift@@ -110,15 +110,16 @@ class DOSEmulatorBridge : EmulatorBridgeBase {private var leftThumbstickPosition: CGPoint = .zeroprivate var rightThumbstickPosition: CGPoint = .zero+ private let analogDpad = LibretroNetplayAnalogDpad()override func activateInput(_ input: Int, value: Double, playerIndex: Int) {guard playerIndex >= 0 else { return }if input == DOSGameInput.leftThumbstickUp || input == DOSGameInput.leftThumbstickDown {leftThumbstickPosition.y = input == DOSGameInput.leftThumbstickUp ? value : -value- LibretroCore.sharedInstance().moveStick(true, x: leftThumbstickPosition.x, y: leftThumbstickPosition.y, playerIndex: UInt32(playerIndex))+ analogDpad.moveStick(isLeft: true, x: leftThumbstickPosition.x, y: leftThumbstickPosition.y, playerIndex: playerIndex)} else if input == DOSGameInput.leftThumbstickLeft || input == DOSGameInput.leftThumbstickRight {leftThumbstickPosition.x = input == DOSGameInput.leftThumbstickRight ? value : -value- LibretroCore.sharedInstance().moveStick(true, x: leftThumbstickPosition.x, y: leftThumbstickPosition.y, playerIndex: UInt32(playerIndex))+ analogDpad.moveStick(isLeft: true, x: leftThumbstickPosition.x, y: leftThumbstickPosition.y, playerIndex: playerIndex)} else if input == DOSGameInput.rightThumbstickUp || input == DOSGameInput.rightThumbstickDown {rightThumbstickPosition.y = input == DOSGameInput.rightThumbstickUp ? value : -valueLibretroCore.sharedInstance().moveStick(false, x: rightThumbstickPosition.x, y: rightThumbstickPosition.y, playerIndex: UInt32(playerIndex))@@ -127,6 +128,9 @@ class DOSEmulatorBridge : EmulatorBridgeBase {LibretroCore.sharedInstance().moveStick(false, x: rightThumbstickPosition.x, y: rightThumbstickPosition.y, playerIndex: UInt32(playerIndex))} else if let gameInput = DOSGameInput(rawValue: input),let libretroButton = gameInputToCoreInput(gameInput: gameInput) {+ if analogDpad.handleDpad(libretroButton, pressed: true, playerIndex: playerIndex) {+ return+ }#if DEBUGLog.debug("🎮 \(objectInfo(self)) 点击了:\(gameInput)")#endif@@ -157,10 +161,10 @@ class DOSEmulatorBridge : EmulatorBridgeBase {override func deactivateInput(_ input: Int, playerIndex: Int) {if input == DOSGameInput.leftThumbstickUp || input == DOSGameInput.leftThumbstickDown {leftThumbstickPosition.y = 0- LibretroCore.sharedInstance().moveStick(true, x: leftThumbstickPosition.x, y: leftThumbstickPosition.y, playerIndex: UInt32(playerIndex))+ analogDpad.moveStick(isLeft: true, x: leftThumbstickPosition.x, y: leftThumbstickPosition.y, playerIndex: playerIndex)} else if input == DOSGameInput.leftThumbstickLeft || input == DOSGameInput.leftThumbstickRight {leftThumbstickPosition.x = 0- LibretroCore.sharedInstance().moveStick(true, x: leftThumbstickPosition.x, y: leftThumbstickPosition.y, playerIndex: UInt32(playerIndex))+ analogDpad.moveStick(isLeft: true, x: leftThumbstickPosition.x, y: leftThumbstickPosition.y, playerIndex: playerIndex)} else if input == DOSGameInput.rightThumbstickUp || input == DOSGameInput.rightThumbstickDown {rightThumbstickPosition.y = 0LibretroCore.sharedInstance().moveStick(false, x: rightThumbstickPosition.x, y: rightThumbstickPosition.y, playerIndex: UInt32(playerIndex))@@ -169,6 +173,9 @@ class DOSEmulatorBridge : EmulatorBridgeBase {LibretroCore.sharedInstance().moveStick(false, x: rightThumbstickPosition.x, y: rightThumbstickPosition.y, playerIndex: UInt32(playerIndex))} else if let gameInput = DOSGameInput(rawValue: input),let libretroButton = gameInputToCoreInput(gameInput: gameInput) {+ if analogDpad.handleDpad(libretroButton, pressed: false, playerIndex: playerIndex) {+ return+ }LibretroCore.sharedInstance().release(libretroButton, playerIndex: UInt32(playerIndex))}}diff --git a/ManicEmu/ManicEmu/Sources/Tools/Cores/LibretroNetplayAnalogDpad.swift b/ManicEmu/ManicEmu/Sources/Tools/Cores/LibretroNetplayAnalogDpad.swiftnew file mode 100644index 00000000..0cb4aced--- /dev/null+++ b/ManicEmu/ManicEmu/Sources/Tools/Cores/LibretroNetplayAnalogDpad.swift@@ -0,0 +1,99 @@+//+// LibretroNetplayAnalogDpad.swift+// ManicEmu+//+// RetroArch netplay only serializes JOYPAD bits. Analog axes from moveStick+// are dropped. This helper mirrors one analog stick onto D-pad while netplay+// is active, OR'd with the physical D-pad so they do not cancel each other.+//++import CoreGraphics+import Foundation++final class LibretroNetplayAnalogDpad {+ var threshold: CGFloat = 0.35++ private struct DpadBits {+ var up = false+ var down = false+ var left = false+ var right = false+ }++ private var stick = CGPoint.zero+ private var dpadFromButtons = DpadBits()+ private var dpadFromStick = DpadBits()+ private var dpadSent = DpadBits()+ private var playerIndex = 0+ private var observer: NSObjectProtocol?++ init() {+ observer = NotificationCenter.default.addObserver(+ forName: Notification.Name(rawValue: "LibretroNetplayEventNotification"),+ object: nil,+ queue: .main+ ) { [weak self] _ in+ DispatchQueue.main.async {+ self?.refreshStickDpad()+ }+ }+ }++ deinit {+ if let observer {+ NotificationCenter.default.removeObserver(observer)+ }+ }++ /// Always sends analog via `moveStick`. During netplay, also maps the stick onto D-pad.+ func moveStick(isLeft: Bool, x: CGFloat, y: CGFloat, playerIndex: Int) {+ self.playerIndex = playerIndex+ stick = CGPoint(x: x, y: y)+ LibretroCore.sharedInstance().moveStick(isLeft, x: x, y: y, playerIndex: UInt32(playerIndex))+ refreshStickDpad()+ }++ /// Returns `true` when `button` is a D-pad direction (already applied).+ @discardableResult+ func handleDpad(_ button: LibretroButton, pressed: Bool, playerIndex: Int) -> Bool {+ switch button {+ case .up: dpadFromButtons.up = pressed+ case .down: dpadFromButtons.down = pressed+ case .left: dpadFromButtons.left = pressed+ case .right: dpadFromButtons.right = pressed+ default: return false+ }+ self.playerIndex = playerIndex+ syncDpad()+ return true+ }++ private func refreshStickDpad() {+ if LibretroNetplaySession.shared.isNetplay {+ dpadFromStick.up = stick.y > threshold+ dpadFromStick.down = stick.y < -threshold+ dpadFromStick.left = stick.x < -threshold+ dpadFromStick.right = stick.x > threshold+ } else {+ dpadFromStick = DpadBits()+ }+ syncDpad()+ }++ private func syncDpad() {+ let player = UInt32(playerIndex)+ func apply(_ on: Bool, _ was: inout Bool, _ button: LibretroButton) {+ guard on != was else { return }+ was = on+ if on {+ LibretroCore.sharedInstance().press(button, playerIndex: player)+ } else {+ LibretroCore.sharedInstance().release(button, playerIndex: player)+ }+ }+ apply(dpadFromButtons.up || dpadFromStick.up, &dpadSent.up, .up)+ apply(dpadFromButtons.down || dpadFromStick.down, &dpadSent.down, .down)+ apply(dpadFromButtons.left || dpadFromStick.left, &dpadSent.left, .left)+ apply(dpadFromButtons.right || dpadFromStick.right, &dpadSent.right, .right)+ }+}diff --git a/ManicEmu/ManicEmu/Sources/Tools/Cores/Lynx.swift b/ManicEmu/ManicEmu/Sources/Tools/Cores/Lynx.swiftindex b726317f..f7a6fa26 100644--- a/ManicEmu/ManicEmu/Sources/Tools/Cores/Lynx.swift+++ b/ManicEmu/ManicEmu/Sources/Tools/Cores/Lynx.swift@@ -75,8 +75,6 @@ struct Lynx: DeltaCoreProtocol {class LynxEmulatorBridge : EmulatorBridgeBase {static let shared = LynxEmulatorBridge()- private var thumbstickPosition: CGPoint = .zero-override func activateInput(_ input: Int, value: Double, playerIndex: Int) {guard playerIndex >= 0 else { return }if let gameInput = LynxGameInput(rawValue: input),diff --git a/ManicEmu/ManicEmu/Sources/Tools/Cores/MCD.swift b/ManicEmu/ManicEmu/Sources/Tools/Cores/MCD.swiftindex 3e48dfa8..4cb6e115 100644--- a/ManicEmu/ManicEmu/Sources/Tools/Cores/MCD.swift+++ b/ManicEmu/ManicEmu/Sources/Tools/Cores/MCD.swift@@ -96,8 +96,6 @@ struct MCD: DeltaCoreProtocol {class MCDEmulatorBridge : EmulatorBridgeBase {static let shared = MCDEmulatorBridge()- private var thumbstickPosition: CGPoint = .zero-override func activateInput(_ input: Int, value: Double, playerIndex: Int) {guard playerIndex >= 0 else { return }if let gameInput = MCDGameInput(rawValue: input) {diff --git a/ManicEmu/ManicEmu/Sources/Tools/Cores/NDS.swift b/ManicEmu/ManicEmu/Sources/Tools/Cores/NDS.swiftindex 19c617f1..5af54688 100644--- a/ManicEmu/ManicEmu/Sources/Tools/Cores/NDS.swift+++ b/ManicEmu/ManicEmu/Sources/Tools/Cores/NDS.swift@@ -33,7 +33,7 @@ extension GameTypecase downcase leftcase right- ///Thumbstick移动光标+ /// Right analog moves the touch cursor.case rightThumbstickUpcase rightThumbstickDowncase rightThumbstickLeftdiff --git a/ManicEmu/ManicEmu/Sources/Tools/Cores/SS.swift b/ManicEmu/ManicEmu/Sources/Tools/Cores/SS.swiftindex 71ef2059..e9598bb4 100644--- a/ManicEmu/ManicEmu/Sources/Tools/Cores/SS.swift+++ b/ManicEmu/ManicEmu/Sources/Tools/Cores/SS.swift@@ -93,8 +93,6 @@ struct SS: DeltaCoreProtocol {class SSEmulatorBridge : EmulatorBridgeBase {static let shared = SSEmulatorBridge()- private var thumbstickPosition: CGPoint = .zero-override func activateInput(_ input: Int, value: Double, playerIndex: Int) {guard playerIndex >= 0 else { return }if let gameInput = SSGameInput(rawValue: input),diff --git a/ManicEmu/ManicEmu/Sources/Tools/Extensions/GameTypeExtensions.swift b/ManicEmu/ManicEmu/Sources/Tools/Extensions/GameTypeExtensions.swiftindex 63196590..f9d3c269 100644--- a/ManicEmu/ManicEmu/Sources/Tools/Extensions/GameTypeExtensions.swift+++ b/ManicEmu/ManicEmu/Sources/Tools/Extensions/GameTypeExtensions.swift@@ -535,7 +535,7 @@ extension GameType {return [EmulationCore.Gearsystem.name, EmulationCore.PicoDrive.name]#endif} else if self == .gb || self == .gbc {- return [EmulationCore.Gambatte.name, EmulationCore.mGBA.name, EmulationCore.VBAM.name]+ return [EmulationCore.Gambatte.name, EmulationCore.mGBA.name, EmulationCore.VBAM.name, EmulationCore.MesenS.name]} else if self == .arcade {#if SIDE_LOADreturn [EmulationCore.MAME.name, EmulationCore.FinalBurnNeo.name]@@ -560,7 +560,9 @@ extension GameType {return [EmulationCore.BeetlePSXHW.name, EmulationCore.PCSXReArmed.name]} else if self == .snes {#if SIDE_LOAD- return [EmulationCore.bsnes.name, EmulationCore.Snes9x.name]+ return [EmulationCore.bsnes.name, EmulationCore.Snes9x.name, EmulationCore.MesenS.name]+#else+ return [EmulationCore.bsnes.name, "", EmulationCore.MesenS.name]#endif}return []diff --git a/ManicEmu/ManicEmu/Sources/Tools/Others/EmulationCore.swift b/ManicEmu/ManicEmu/Sources/Tools/Others/EmulationCore.swiftindex bcbcd955..c7ffedb4 100644--- a/ManicEmu/ManicEmu/Sources/Tools/Others/EmulationCore.swift+++ b/ManicEmu/ManicEmu/Sources/Tools/Others/EmulationCore.swift@@ -49,7 +49,8 @@ enum EmulationCore: CaseIterable {BeetleNeoPop,VICEx64sc,PUAE,- gpSP+ gpSP,+ MesenSvar name: String {switch self {@@ -137,6 +138,8 @@ enum EmulationCore: CaseIterable {"PUAE"case .gpSP:"gpSP"+ case .MesenS:+ "Mesen-S"}}@@ -218,6 +221,8 @@ enum EmulationCore: CaseIterable {return [.amiga]case .gpSP:return [.gba]+ case .MesenS:+ return [.snes, .gb, .gbc]}}@@ -256,15 +261,10 @@ enum EmulationCore: CaseIterable {.FinalBurnNeo,.Stella,.DOSBoxPure,- .bsnes,- .bsnesJG,- .melonDSDS,- .DeSmuME,- .Holani,- .VirtualJaguar,.BeetlePCE,.BeetleNeoPop,- .gpSP:+ .gpSP,+ .MesenS:return truedefault:return false