mirror of https://github.com/mgba-emu/mgba.git
SDL: Add scale presets for up to 6x
This commit is contained in:
parent
65a8a4e76b
commit
43b0d070b8
|
@ -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 @@ 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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue