Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#10312 closed defect (fixed)

WIN: "WARNING: unknown gfx mode -1!"

Reported by: rootfather Owned by: csnover
Priority: normal Component: Port: Win32
Version: Keywords:
Cc: Game:

Description

OS: Windows 10
ScummVM revision: current master

Starting with 6e157429b7a5a64af6265d075c88595df2d6fd79, I receive the following warning when starting ScummVM with a default (or without) scummvm.ini file. I couldn't figure out any effects besides displaying this warning.

[2017-11-02 15:16:08] ScummVM 1.10.0git18521-g6e157429b7 (Nov  2 2017 15:15:55)
[2017-11-02 15:16:08] Vorbis FLAC RGB zLib Theora FreeType2 JPEG PNG cloud (servers) 
[2017-11-02 15:16:08] --- Log opened.
[2017-11-02 15:16:08] Using SDL Video Driver "windows"
[2017-11-02 15:16:08] Using SDL Audio Driver "wasapi"
[2017-11-02 15:16:08] SDL mixer sound format: 33056 differs from desired: 32784
[2017-11-02 15:16:08] Output sample rate: 44100 Hz
[2017-11-02 15:16:08] Output buffer size: 1024 samples
[2017-11-02 15:16:08] WARNING: unknown gfx mode -1!
*snip*

Change History (7)

comment:1 by macca8, 6 years ago

I get the same warning message with Mac OS X daily build 1.10.0git5294-g3f42f21 (3 Nov 2017) on OS X 10.6.8 & 10.11.6.
Except for using Fullscreen mode, I'm using standard ScummVM defaults (which includes a GFX mode of "default").
It appears to be written to the log on each occasion that the Launcher is displayed (which includes startup & when returning from a game).

comment:2 by csnover, 6 years ago

Owner: set to csnover

comment:3 by csnover, 6 years ago

Resolution: fixed
Status: newclosed

Thanks for your report! A patch for this issue has been added in commit 8e8ec3900c90fc9e18571df84c5e9e754479052b and will be available in daily builds 1.10.0git-5301 and later.

comment:4 by rootfather, 6 years ago

Thanks! Fix confirmed.

comment:5 by macca8, 6 years ago

Just confirming that the fix also works in Mac OS X.

I note that part of your fix includes: name == "default", as I've quoted above.
For the sake of accuracy, the correct text entry that I should have reported is actually "<default>", though it doesn't appear to have mattered here.

comment:6 by csnover, 6 years ago

The label used in the UI is localised and does not match the strings used internally for representing graphics modes.

comment:7 by digitall, 5 years ago

Component: PortsPort: Win32
Note: See TracTickets for help on using tickets.