Fixes black screen when running NES games on device without debugger
This commit is contained in:
parent
a377c1631a
commit
e63a525671
@ -22,12 +22,13 @@ class AppDelegate: UIResponder, UIApplicationDelegate
|
|||||||
|
|
||||||
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool
|
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool
|
||||||
{
|
{
|
||||||
Fabric.with([Crashlytics.self])
|
|
||||||
|
|
||||||
Settings.registerDefaults()
|
Settings.registerDefaults()
|
||||||
|
|
||||||
System.allCases.forEach { Delta.register($0.deltaCore) }
|
System.allCases.forEach { Delta.register($0.deltaCore) }
|
||||||
|
|
||||||
|
// Must go AFTER registering cores, or else NESDeltaCore may not work correctly when not connected to debugger 🤷♂️
|
||||||
|
Fabric.with([Crashlytics.self])
|
||||||
|
|
||||||
self.configureAppearance()
|
self.configureAppearance()
|
||||||
|
|
||||||
// Disable system gestures that delay touches on left edge of screen
|
// Disable system gestures that delay touches on left edge of screen
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user