Uses EmulatorCore.preferredRenderingSize to determine save states aspect ratio
This commit is contained in:
parent
a74d505224
commit
df5f409e74
@ -1 +1 @@
|
||||
Subproject commit 593e5e758bf289e7d3d40f4dc37451c2f8ef791f
|
||||
Subproject commit 1037b675d20acdd847fe960b426785058f4e83aa
|
||||
@ -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()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user