[Scummvm-cvs-logs] SF.net SVN: scummvm:[38349] scummvm/trunk/engines/sci/engine/game.cpp

jvprat at users.sourceforge.net jvprat at users.sourceforge.net
Mon Feb 16 08:02:11 CET 2009


Revision: 38349
          http://scummvm.svn.sourceforge.net/scummvm/?rev=38349&view=rev
Author:   jvprat
Date:     2009-02-16 07:02:11 +0000 (Mon, 16 Feb 2009)

Log Message:
-----------
Revert r38254 as pointed by waltervn (SCI1 games work again)

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/game.cpp

Modified: scummvm/trunk/engines/sci/engine/game.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/game.cpp	2009-02-16 06:43:33 UTC (rev 38348)
+++ scummvm/trunk/engines/sci/engine/game.cpp	2009-02-16 07:02:11 UTC (rev 38349)
@@ -211,17 +211,17 @@
 
 	if (s->resmgr->sci_version >= SCI_VERSION_01_VGA) {
 		// This bit sets the foreground and background colors in VGA SCI games
-#if 0
 		gfx_color_t fgcolor;
 		gfx_color_t bgcolor;
 
+#if 0
 		fgcolor.visual = s->gfx_state->resstate->static_palette[0];
 		fgcolor.mask = GFX_MASK_VISUAL;
 		bgcolor.visual = s->gfx_state->resstate->static_palette[255];
 		bgcolor.mask = GFX_MASK_VISUAL;
+#endif
 		s->titlebar_port = gfxw_new_port(s->visual, NULL, gfx_rect(0, 0, 320, 10),
 		                                 fgcolor, bgcolor);
-#endif
 	} else
 		s->titlebar_port = gfxw_new_port(s->visual, NULL, gfx_rect(0, 0, 320, 10),
 		                                 s->ega_colors[0], s->ega_colors[15]);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list