all repos — mgba @ e2927ebcea5025bd426b0721fac671e4f4d216cc

mGBA Game Boy Advance Emulator

All: Fix fullscreen config option being ignored
Jeffrey Pfau jeffrey@endrift.com
Mon, 07 Nov 2016 09:56:38 -0800
commit

e2927ebcea5025bd426b0721fac671e4f4d216cc

parent

c92add2a5ca5f3d152a9fdba67a8580e45c1ec82

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

jump to
M CHANGESCHANGES

@@ -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.csrc/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) {