let Ample do the resolution scaling math.

This commit is contained in:
Kelvin Sherlock
2023-11-17 17:07:22 -05:00
parent cbf3fd5a34
commit c1ecb40cdb
80 changed files with 90 additions and 82 deletions

View File

@@ -612,8 +612,8 @@ def find_machine_resolution(machine):
# raster screens have a default aspect ratio of 4 : 3
# pre-calc something like that, but integer-based.
hscale = round((width * 3 / 4 ) / height)
if hscale < 1 : hscale = 1
#hscale = round((width * 3 / 4 ) / height)
#if hscale < 1 : hscale = 1
return [width, height * hscale]