Updated Cores to use new dynamic subclassing
This commit is contained in:
parent
a1ae5679bb
commit
2aa4359a3e
@ -1 +1 @@
|
|||||||
Subproject commit da94192b5544a99aac358db0c869381bf6ece8f9
|
Subproject commit 0fe20409850d1d4c1b3bd4f40d304eace2346eec
|
||||||
@ -1 +1 @@
|
|||||||
Subproject commit c57b21077f13c1acbe8112f36ec48e1cb56e5619
|
Subproject commit e591a53f115fc3a8b9dcdfea677e6f14d788f04f
|
||||||
@ -72,12 +72,12 @@ class GamesViewController: UITableViewController
|
|||||||
|
|
||||||
//MARK: UITableViewDelegate
|
//MARK: UITableViewDelegate
|
||||||
|
|
||||||
|
|
||||||
override func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath)
|
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)
|
println(game.name)
|
||||||
|
let emulatorCore = EmulatorCore(game: game)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user