diff --git a/Cores/DeltaCore b/Cores/DeltaCore index da94192..0fe2040 160000 --- a/Cores/DeltaCore +++ b/Cores/DeltaCore @@ -1 +1 @@ -Subproject commit da94192b5544a99aac358db0c869381bf6ece8f9 +Subproject commit 0fe20409850d1d4c1b3bd4f40d304eace2346eec diff --git a/Cores/SNESDeltaCore b/Cores/SNESDeltaCore index c57b210..e591a53 160000 --- a/Cores/SNESDeltaCore +++ b/Cores/SNESDeltaCore @@ -1 +1 @@ -Subproject commit c57b21077f13c1acbe8112f36ec48e1cb56e5619 +Subproject commit e591a53f115fc3a8b9dcdfea677e6f14d788f04f diff --git a/Delta/GamesViewController.swift b/Delta/GamesViewController.swift index e4142de..8d31263 100644 --- a/Delta/GamesViewController.swift +++ b/Delta/GamesViewController.swift @@ -72,12 +72,12 @@ class GamesViewController: UITableViewController //MARK: UITableViewDelegate - override func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) { - if let URL = self.directoryContentsDataSource?.URLAtIndexPath(indexPath), game = Game.gameWithURL(URL) where !(game.isMemberOfClass(Game.self)) + if let URL = self.directoryContentsDataSource?.URLAtIndexPath(indexPath), game = Game(URL: URL) where game.UTI != kUTTypeDeltaGame as String { println(game.name) + let emulatorCore = EmulatorCore(game: game) } else {