Removes explicit initialization of SNESEmulatorCore

This commit is contained in:
Riley Testut 2016-05-21 15:38:12 -05:00
parent 9d599064a8
commit f0f88a529a
3 changed files with 3 additions and 5 deletions

@ -1 +1 @@
Subproject commit 67ef5360d0c1ac20ffc584bd908cca634183380b Subproject commit 9e14654abbcf82ff415eb6fb2648b0be5091ca44

View File

@ -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)
} }
} }

View File

@ -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!