[ scummvm-Bugs-1184664 ] ALL: Command-line inconsistency

SourceForge.net noreply at sourceforge.net
Sun Apr 17 17:34:08 CEST 2005


Bugs item #1184664, was opened at 2005-04-17 17:34
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1184664&group_id=37116

Category: None
Group: All Games
Status: Open
Resolution: None
Priority: 5
Submitted By: Torbjörn Andersson (eriktorbjorn)
Assigned to: Nobody/Anonymous (nobody)
Summary: ALL: Command-line inconsistency

Initial Comment:
I've tested this with a recent CVS snapshot:

In my .scummvmrc, the [scummvm] section contains
"aspect_ratio=true" and "gfx_mode=advmame2x". However,
there are cases when I want to override this. The
command-line is behaving a bit inconsistently though:

$ scummvm -g3x --no-aspect-ratio
ScummVM starts in 3x mode and no aspect ratio correction.

$ scummvm --no-aspect-ratio -g3x
ScummVM starts in 3x mode, but with aspect ratio
correction.

So apparently the order of the command-line arguments
matter here. I think the difference happens because the
parsing of the graphics mode uses g_system, which
causes the backend to be initialized. In the second
case this happens while aspect ratio correction is
still on (command-line options are parsed from right to
left, for whatever reason).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=1184664&group_id=37116




More information about the Scummvm-tracker mailing list