all repos — mgba @ dc60c28bf10aee056e61e5111cee4a857d2cc33b

mGBA Game Boy Advance Emulator

SDL: Fix showing version number (fixes #794)
Vicki Pfau vi@endrift.com
Wed, 12 Jul 2017 09:01:34 -0700
commit

dc60c28bf10aee056e61e5111cee4a857d2cc33b

parent

ac848f8930dba3d06bf4bf5287e9ef26e73caaee

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

jump to
M CHANGESCHANGES

@@ -76,6 +76,7 @@ - Qt: Disable "New multiplayer window" when MAX_GBAS is reached (fixes mgba.io/i/107)

- Qt: Fix game unpausing after frame advancing and refocusing - SDL: Fix game crash check - SDL: Fix race condition with audio thread when starting + - SDL: Fix showing version number - Test: Fix crash when loading invalid file - Test: Fix crash when fuzzing fails to load a file - Test: Don't rely on core for frames elapsed
M src/platform/sdl/main.csrc/platform/sdl/main.c

@@ -56,7 +56,7 @@ struct mSubParser subparser;

initParserForGraphics(&subparser, &graphicsOpts); bool parsed = parseArguments(&args, argc, argv, &subparser); - if (!args.fname) { + if (!args.fname && !args.showVersion) { parsed = false; } if (!parsed || args.showHelp) {