all repos — mgba @ 43b0d070b81d35580f5ff44af782cf14dcd98679

mGBA Game Boy Advance Emulator

SDL: Add scale presets for up to 6x
Jeffrey Pfau jeffrey@endrift.com
Tue, 16 Dec 2014 22:25:35 -0800
commit

43b0d070b81d35580f5ff44af782cf14dcd98679

parent

65a8a4e76be5cb06255faf99432de1145ade396d

1 files changed, 5 insertions(+), 1 deletions(-)

jump to
M src/platform/commandline.csrc/platform/commandline.c

@@ -21,13 +21,15 @@

#include <fcntl.h> #include <getopt.h> -#define GRAPHICS_OPTIONS "1234f" +#define GRAPHICS_OPTIONS "123456f" #define GRAPHICS_USAGE \ "\nGraphics options:\n" \ " -1 1x viewport\n" \ " -2 2x viewport\n" \ " -3 3x viewport\n" \ " -4 4x viewport\n" \ + " -5 5x viewport\n" \ + " -6 6x viewport\n" \ " -f Start full-screen" static const struct option _options[] = {

@@ -139,6 +141,8 @@ case '1':

case '2': case '3': case '4': + case '5': + case '6': if (graphicsOpts->multiplier) { return false; }