[Scummvm-devel] Symbian: proper sscanf implementation

Torbjörn Andersson eriktorbjorn at telia.com
Mon Sep 28 19:40:33 CEST 2015


On 2015-09-28 09:15, Федор wrote:
> Hi. Can someone ASAP open inventory in Zork grand inquisitor demo? I have warnings in stderr on my Nokia 5800 :
> WARNING: Background color for ActionSetPartialScreen is bigger than a uint16!

If I'm looking at the correct file, and I read it correctly, the 
_backgroundColor parameter to that action is always either -1 or 992 in 
the demo. The warning happens when _backgroundColor is > 65535, so I 
guess it somehow got cast to an unsigned int along the way?

Torbjörn Andersson





More information about the Scummvm-devel mailing list