Uses EmulatorCore.preferredRenderingSize to determine save states aspect ratio

This commit is contained in:
Riley Testut 2016-06-10 15:57:49 -05:00
parent a74d505224
commit df5f409e74
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 593e5e758bf289e7d3d40f4dc37451c2f8ef791f
Subproject commit 1037b675d20acdd847fe960b426785058f4e83aa

View File

@ -199,7 +199,7 @@ private extension SaveStatesViewController
self.imageOperationQueue.addOperation(imageOperation, forKey: indexPath)
}
let dimensions = self.delegate.saveStatesViewControllerActiveEmulatorCore(self).videoBufferInfo.outputDimensions
let dimensions = self.delegate.saveStatesViewControllerActiveEmulatorCore(self).preferredRenderingSize
cell.maximumImageSize = CGSizeMake(self.prototypeCellWidthConstraint.constant, (self.prototypeCellWidthConstraint.constant / dimensions.width) * dimensions.height)
cell.textLabel.textColor = UIColor.whiteColor()