[Scummvm-cvs-logs] scummvm master -> 532194db1ffa4c7e2425c5735a103e1ae14ed053

bluegr bluegr at gmail.com
Tue Dec 11 21:41:43 CET 2012


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:
532194db1f TINSEL: Fix the colors in the Mac version of DW1


Commit: 532194db1ffa4c7e2425c5735a103e1ae14ed053
    https://github.com/scummvm/scummvm/commit/532194db1ffa4c7e2425c5735a103e1ae14ed053
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2012-12-11T12:40:19-08:00

Commit Message:
TINSEL: Fix the colors in the Mac version of DW1

Changed paths:
    engines/tinsel/palette.cpp



diff --git a/engines/tinsel/palette.cpp b/engines/tinsel/palette.cpp
index c7c8cd0..11b9c60 100644
--- a/engines/tinsel/palette.cpp
+++ b/engines/tinsel/palette.cpp
@@ -170,6 +170,11 @@ void PalettesToVideoDAC() {
 			pal[i * 3 + 2] = TINSEL_GetBValue(pColors[i]);
 		}
 
+		// In DW1 Mac, the last palette color should be black. We fix it here.
+		if (TinselV1Mac) {
+			pal[254 * 3 + 0] = pal[254 * 3 + 1] = pal[254 * 3 + 2] = 0;
+		}
+
 		// update the system palette
 		g_system->getPaletteManager()->setPalette(pal, pDACtail->destDACindex, pDACtail->numColors);
 






More information about the Scummvm-git-logs mailing list