Removes explicit initialization of SNESEmulatorCore
This commit is contained in:
parent
9d599064a8
commit
f0f88a529a
@ -1 +1 @@
|
|||||||
Subproject commit 67ef5360d0c1ac20ffc584bd908cca634183380b
|
Subproject commit 9e14654abbcf82ff415eb6fb2648b0be5091ca44
|
||||||
@ -9,7 +9,6 @@
|
|||||||
import UIKit
|
import UIKit
|
||||||
|
|
||||||
import DeltaCore
|
import DeltaCore
|
||||||
import SNESDeltaCore
|
|
||||||
|
|
||||||
class EmulationViewController: UIViewController
|
class EmulationViewController: UIViewController
|
||||||
{
|
{
|
||||||
@ -22,7 +21,7 @@ class EmulationViewController: UIViewController
|
|||||||
{
|
{
|
||||||
guard oldValue != game else { return }
|
guard oldValue != game else { return }
|
||||||
|
|
||||||
self.emulatorCore = SNESEmulatorCore(game: game)
|
self.emulatorCore = EmulatorCore(game: game)
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -9,7 +9,6 @@
|
|||||||
import UIKit
|
import UIKit
|
||||||
|
|
||||||
import DeltaCore
|
import DeltaCore
|
||||||
import SNESDeltaCore
|
|
||||||
|
|
||||||
class EmulationViewController: UIViewController
|
class EmulationViewController: UIViewController
|
||||||
{
|
{
|
||||||
@ -18,7 +17,7 @@ class EmulationViewController: UIViewController
|
|||||||
var game: Game! {
|
var game: Game! {
|
||||||
didSet
|
didSet
|
||||||
{
|
{
|
||||||
self.emulatorCore = SNESEmulatorCore(game: game)
|
self.emulatorCore = EmulatorCore(game: game)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private(set) var emulatorCore: EmulatorCore!
|
private(set) var emulatorCore: EmulatorCore!
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user