This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| enum CytrusSettingsHeaders : String, CaseIterable { | |
| case core = "Core" | |
| case debugging = "Debugging" | |
| case system = "System" | |
| case systemSaveGame = "System Save Game" | |
| case renderer = "Renderer" | |
| case defaultLayout = "Default Layout" | |
| case customLayout = "Custom Layout" | |
| case audio = "Audio" | |
| case miscellaneous = "Miscellaneous" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -(void) updateSettings { | |
| NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; | |
| bool (^boolean)(NSString *) = ^bool(NSString *key) { return [defaults boolForKey:key]; }; | |
| float (^_float)(NSString *) = ^float(NSString *key) { return [[NSNumber numberWithDouble:[defaults doubleForKey:key]] floatValue]; }; | |
| s32 (^signed32)(NSString *) = ^s32(NSString *key) { return [[NSNumber numberWithDouble:[defaults doubleForKey:key]] intValue]; }; | |
| u16 (^unsigned16)(NSString *) = ^u16(NSString *key) { return [[NSNumber numberWithDouble:[defaults doubleForKey:key]] intValue]; }; | |
| u32 (^unsigned32)(NSString *) = ^u32(NSString *key) { return [[NSNumber numberWithDouble:[defaults doubleForKey:key]] intValue]; }; | |
| std::string (^string)(NSString *) = ^std::string(NSString *key) { return std::string{[[defaults stringForKey:key] UTF8String]}; }; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| struct LocalizedStrings { | |
| enum OnboardingMain : String { | |
| case text = "Folium" | |
| case secondaryText = "Beautifully designed, highly performing multi-system emulator" | |
| var translated: String { NSLocalizedString(rawValue, comment: "") } | |
| } | |
| enum OnboardingCamera : String { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "version": { | |
| "format": 1, | |
| "semantics": 1 | |
| }, | |
| "news_id": 10000, | |
| "published_at": 1751302719, | |
| "pickup_limit": 1752512319, | |
| "priority": 50, | |
| "deletion_priority": 0, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if UIDevice.current.systemVersion >= "17.0" { | |
| if #available(iOS 17, *) { | |
| label.font = .bold(.extraLargeTitle) | |
| } | |
| } else { | |
| label.font = .bold(.largeTitle) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import UIKit | |
| struct ISOLoader { | |
| struct PrimaryVolumeDescriptor { | |
| struct DirectoryRecord { | |
| var size: UInt8 | |
| var sectorsExtendedRecord: UInt8 | |
| var lbaLE: UInt32 | |
| var lbaBE: UInt32 | |
| var dataLengthLE: UInt32 |
OlderNewer