Add 3x window size option.

This commit is contained in:
Kelvin Sherlock 2020-09-14 19:09:10 -04:00
parent 0dfd7c0605
commit 97c27328d0
2 changed files with 4 additions and 2 deletions

View File

@ -75,7 +75,7 @@ DQ
<rect key="frame" x="20" y="92" width="306" height="363"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
</customView>
<tabView initialItem="nr5-4o-DyG" id="l8R-bg-6Zm">
<tabView initialItem="zUN-Qs-haG" id="l8R-bg-6Zm">
<rect key="frame" x="13" y="453" width="692" height="160"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
<font key="font" metaFont="system"/>
@ -162,8 +162,8 @@ DQ
<font key="font" metaFont="system"/>
</buttonCell>
<connections>
<binding destination="-2" name="enabled" keyPath="self.mameWindowMode" id="X80-2K-kTO"/>
<binding destination="-2" name="value" keyPath="self.mameSquarePixels" id="BiP-wC-Hpn"/>
<binding destination="-2" name="enabled" keyPath="self.mameWindowMode" id="X80-2K-kTO"/>
</connections>
</button>
<textField horizontalHuggingPriority="251" verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="6gd-45-eLr">
@ -186,6 +186,7 @@ DQ
<menuItem title="Full Screen" state="on" id="0zZ-Ib-Fne"/>
<menuItem title="Window 1x" id="3bZ-rq-fCt"/>
<menuItem title="Window 2x" id="KA4-Rs-yyK"/>
<menuItem title="Window 3x" id="Dbh-Js-pMx" userLabel="Window 3x"/>
</items>
</menu>
</popUpButtonCell>

View File

@ -268,6 +268,7 @@ static NSString * JoinArguments(NSArray *argv) {
// drop through.
case 2: // 2x
case 3: // 3x
if (_mameSquarePixels) {
// NSString *aspect = [NSString stringWithFormat: @"%u:%u", (unsigned)screen.width, (unsigned)screen.height];