diff options
author | Filippos Karapetis | 2009-02-15 15:15:26 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-02-15 15:15:26 +0000 |
commit | 8228f3bcb2bc6b25b232227bf7dfd116cbea36a4 (patch) | |
tree | 03b2220052f40924f70afb3b8edd641e5c307bec /engines/sci | |
parent | bc7e76ec5dd18ed949edc5453c930cb687a00269 (diff) | |
download | scummvm-rg350-8228f3bcb2bc6b25b232227bf7dfd116cbea36a4.tar.gz scummvm-rg350-8228f3bcb2bc6b25b232227bf7dfd116cbea36a4.tar.bz2 scummvm-rg350-8228f3bcb2bc6b25b232227bf7dfd116cbea36a4.zip |
Yet more warning fixes
svn-id: r38254
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/engine/game.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/sci/engine/game.cpp b/engines/sci/engine/game.cpp index 553298e406..f80abf1647 100644 --- a/engines/sci/engine/game.cpp +++ b/engines/sci/engine/game.cpp @@ -216,17 +216,18 @@ _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]); |