mirror of https://github.com/mgba-emu/mgba.git
All: Fix fullscreen config option being ignored
This commit is contained in:
parent
c92add2a5c
commit
e2927ebcea
1
CHANGES
1
CHANGES
|
@ -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
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue