aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJordi Vilalta Prat2009-02-16 07:02:11 +0000
committerJordi Vilalta Prat2009-02-16 07:02:11 +0000
commit75a4540791d3ccad3f08d4bb93a20b034e571785 (patch)
tree48bed9a3855674aed254e7f25b7e05df4c522ec1 /engines
parent0a04d307535bec99c57d5a469b7c449da8f5e469 (diff)
downloadscummvm-rg350-75a4540791d3ccad3f08d4bb93a20b034e571785.tar.gz
scummvm-rg350-75a4540791d3ccad3f08d4bb93a20b034e571785.tar.bz2
scummvm-rg350-75a4540791d3ccad3f08d4bb93a20b034e571785.zip
Revert r38254 as pointed by waltervn (SCI1 games work again)
svn-id: r38349
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/game.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/game.cpp b/engines/sci/engine/game.cpp
index ef4012c0f4..ff0e0db24b 100644
--- a/engines/sci/engine/game.cpp
+++ b/engines/sci/engine/game.cpp
@@ -211,17 +211,17 @@ _reset_graphics_input(state_t *s) {
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]);