All: Fix fullscreen config option being ignored
Jeffrey Pfau jeffrey@endrift.com
Mon, 07 Nov 2016 09:56:38 -0800
2 files changed,
4 insertions(+),
1 deletions(-)
M
CHANGES
→
CHANGES
@@ -29,6 +29,7 @@ - Qt: Only reset window dimensions when first shown
- GB Memory: Fix starting HDMAs during mode 0 - Qt: Fix Qt Multimedia audio driver on big endian - GBA: Fix IRQs firing after already being cleared + - All: Fix fullscreen config option being ignored Misc: - SDL: Remove scancode key input - GBA Video: Clean up unused timers
M
src/feature/commandline.c
→
src/feature/commandline.c
@@ -201,7 +201,9 @@ }
void _applyGraphicsArgs(struct mSubParser* parser, struct mCoreConfig* config) { struct mGraphicsOpts* graphicsOpts = parser->opts; - mCoreConfigSetOverrideIntValue(config, "fullscreen", graphicsOpts->fullscreen); + if (graphicsOpts->fullscreen) { + mCoreConfigSetOverrideIntValue(config, "fullscreen", graphicsOpts->fullscreen); + } } void usage(const char* arg0, const char* extraOptions) {