From 2ba85fc3f834bc591fd0631ea0df49e498cb19f8 Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Mon, 7 Sep 2020 22:10:37 -0400 Subject: [PATCH] move the tabs around a bit. --- Ample/Base.lproj/LaunchWindow.xib | 113 ++++++++++++++---------------- Ample/LaunchWindowController.m | 10 +-- 2 files changed, 56 insertions(+), 67 deletions(-) diff --git a/Ample/Base.lproj/LaunchWindow.xib b/Ample/Base.lproj/LaunchWindow.xib index 677d219..3076be5 100644 --- a/Ample/Base.lproj/LaunchWindow.xib +++ b/Ample/Base.lproj/LaunchWindow.xib @@ -80,73 +80,13 @@ DQ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -194,7 +134,7 @@ DQ - + @@ -255,6 +195,55 @@ DQ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Ample/LaunchWindowController.m b/Ample/LaunchWindowController.m index b73f927..cd59098 100644 --- a/Ample/LaunchWindowController.m +++ b/Ample/LaunchWindowController.m @@ -255,13 +255,13 @@ static NSString * JoinArguments(NSArray *argv) { case 0: // full screen; break; case 1: // 1x -#if 0 + // make the command-line a bit shorter and more pleasant. if (!_mameSquarePixels) { [argv addObject: @"-window"]; [argv addObject: @"-nomax"]; break; } -#endif + // drop through. case 2: // 2x { @@ -270,14 +270,14 @@ static NSString * JoinArguments(NSArray *argv) { (unsigned)(_mameWindowMode * screen.width), (unsigned)(_mameWindowMode * screen.height) ]; - NSString *aspect = [NSString stringWithFormat: @"%u:%u", (unsigned)screen.width, (unsigned)screen.height]; [argv addObject: @"-resolution"]; [argv addObject: res]; if (_mameSquarePixels) { [argv addObject: @"-nounevenstretch"]; -// [argv addObject: @"-aspect"]; -// [argv addObject: aspect]; +// NSString *aspect = [NSString stringWithFormat: @"%u:%u", (unsigned)screen.width, (unsigned)screen.height]; +// [argv addObject: @"-aspect"]; +// [argv addObject: aspect]; } break; }