From 43b0d070b81d35580f5ff44af782cf14dcd98679 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Tue, 16 Dec 2014 22:25:35 -0800 Subject: [PATCH] SDL: Add scale presets for up to 6x --- src/platform/commandline.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/platform/commandline.c b/src/platform/commandline.c index de7b56a17..63803181e 100644 --- a/src/platform/commandline.c +++ b/src/platform/commandline.c @@ -21,13 +21,15 @@ #include #include -#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 @@ bool _parseGraphicsArg(struct SubParser* parser, struct GBAConfig* config, int o case '2': case '3': case '4': + case '5': + case '6': if (graphicsOpts->multiplier) { return false; }