[Scummvm-cvs-logs] scummvm master -> acb9879bb1d2efdeae261653f03f034e1cb0ba14

bluegr md5 at scummvm.org
Tue Mar 1 17:31:14 CET 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
acb9879bb1 SCI: Fixed the background color of the status bar in Amiga versions


Commit: acb9879bb1d2efdeae261653f03f034e1cb0ba14
    https://github.com/scummvm/scummvm/commit/acb9879bb1d2efdeae261653f03f034e1cb0ba14
Author: md5 (md5 at scummvm.org)
Date: 2011-03-01T08:29:34-08:00

Commit Message:
SCI: Fixed the background color of the status bar in Amiga versions

Changed paths:
    engines/sci/engine/kmenu.cpp



diff --git a/engines/sci/engine/kmenu.cpp b/engines/sci/engine/kmenu.cpp
index 428c27c..3986966 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.






More information about the Scummvm-git-logs mailing list