diff options
author | md5 | 2011-03-01 18:29:34 +0200 |
---|---|---|
committer | md5 | 2011-03-01 18:29:34 +0200 |
commit | acb9879bb1d2efdeae261653f03f034e1cb0ba14 (patch) | |
tree | e7c869b4cb48c17c8ab302ce14a18f0a80693c04 | |
parent | d149405d79c2f6d1acf7faa31d95491b98fb17ad (diff) | |
download | scummvm-rg350-acb9879bb1d2efdeae261653f03f034e1cb0ba14.tar.gz scummvm-rg350-acb9879bb1d2efdeae261653f03f034e1cb0ba14.tar.bz2 scummvm-rg350-acb9879bb1d2efdeae261653f03f034e1cb0ba14.zip |
SCI: Fixed the background color of the status bar in Amiga versions
-rw-r--r-- | engines/sci/engine/kmenu.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/engine/kmenu.cpp b/engines/sci/engine/kmenu.cpp index 428c27ca73..3986966a71 100644 --- a/engines/sci/engine/kmenu.cpp +++ b/engines/sci/engine/kmenu.cpp @@ -29,6 +29,7 @@ #include "sci/engine/kernel.h" #include "sci/graphics/cursor.h" #include "sci/graphics/menu.h" +#include "sci/graphics/screen.h" namespace Sci { @@ -71,7 +72,7 @@ reg_t kDrawStatus(EngineState *s, int argc, reg_t *argv) { reg_t textReference = argv[0]; Common::String text; int16 colorPen = (argc > 1) ? argv[1].toSint16() : 0; - int16 colorBack = (argc > 2) ? argv[2].toSint16() : g_sci->getResMan()->isVGA() ? 255 : 15; + int16 colorBack = (argc > 2) ? argv[2].toSint16() : g_sci->_gfxScreen->getColorWhite(); if (!textReference.isNull()) { // Sometimes this is called without giving text, if thats the case dont process it. |