All: Fix fullscreen config option being ignored

This commit is contained in:
Jeffrey Pfau 2016-11-07 09:56:38 -08:00
parent c92add2a5c
commit e2927ebcea
2 changed files with 4 additions and 1 deletions

View File

@ -29,6 +29,7 @@ Bugfixes:
- GB Memory: Fix starting HDMAs during mode 0 - GB Memory: Fix starting HDMAs during mode 0
- Qt: Fix Qt Multimedia audio driver on big endian - Qt: Fix Qt Multimedia audio driver on big endian
- GBA: Fix IRQs firing after already being cleared - GBA: Fix IRQs firing after already being cleared
- All: Fix fullscreen config option being ignored
Misc: Misc:
- SDL: Remove scancode key input - SDL: Remove scancode key input
- GBA Video: Clean up unused timers - GBA Video: Clean up unused timers

View File

@ -201,7 +201,9 @@ bool _parseGraphicsArg(struct mSubParser* parser, int option, const char* arg) {
void _applyGraphicsArgs(struct mSubParser* parser, struct mCoreConfig* config) { void _applyGraphicsArgs(struct mSubParser* parser, struct mCoreConfig* config) {
struct mGraphicsOpts* graphicsOpts = parser->opts; 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) { void usage(const char* arg0, const char* extraOptions) {