id,summary,reporter,owner,description,type,status,priority,component,version,resolution,keywords,cc,game 1950,ALL: gfx-mode in command line will ignore -f option,SF/uweryssel,fingolfin,"{{{#!Markdown ScummVM version 0.7.0 If gfxmode and fullscreen options are set in command line and -f is set after -g..., the fullscreen option will be ignored. So ""scummvm -f -g<gfx-mode>"" doesn't work and ""scummvm -g<gfx-mode> -f"" works. \(replace <gfx-mode> with your favourite gfx-mode, not normal or default\) I've found the bug in gamedetector.cpp and sdl.cpp. Those actions are done in GameDetector::parseCommandLine if options are -f -g...: 1\. parsing of -g option \(options parsed backwards\) which means: \- create backend instance \(wasn't created yet\) \- backend constructor reads fullscreen config value 2\. parsing of -f option Now it's to late to update fullscreen config value, ""fullscreen"" won't be checked from backend again. This bug concerns all options which set in backend constructors and set before -g option. In SDL backend they're ""joystick\_num"", ""use\_GDI"", ""fullscreen"" and ""aspect\_ratio"". }}} {{{#!div style=""font-size: 75%"" Ticket imported from: !#1160977. Ticket imported from: bugs/1950. }}}",defect,closed,normal,--Other--,,fixed,,,