aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-10-07 13:33:41 +0000
committerTorbjörn Andersson2006-10-07 13:33:41 +0000
commitf6407f01f88633266b92b2f8950a072e49b2a17c (patch)
treea446dbdf2730ccf690c1029f577a82f2cc8e84a3
parent5f0874ef6380ac6a657c3f769bf7d5caeddc63df (diff)
downloadscummvm-rg350-f6407f01f88633266b92b2f8950a072e49b2a17c.tar.gz
scummvm-rg350-f6407f01f88633266b92b2f8950a072e49b2a17c.tar.bz2
scummvm-rg350-f6407f01f88633266b92b2f8950a072e49b2a17c.zip
Partial fix for Elvira 1 palette problems.
svn-id: r24168
-rw-r--r--engines/agos/vga.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/engines/agos/vga.cpp b/engines/agos/vga.cpp
index d6a8637c2b..71f9fff097 100644
--- a/engines/agos/vga.cpp
+++ b/engines/agos/vga.cpp
@@ -1793,6 +1793,21 @@ void AGOSEngine::vc22_setSpritePalette() {
b -= 1000;
} else {
num = 13;
+
+ palptr[13 * 4 + 0] = 160;
+ palptr[13 * 4 + 1] = 0;
+ palptr[13 * 4 + 2] = 0;
+ palptr[13 * 4 + 3] = 0;
+
+ palptr[14 * 4 + 0] = 96;
+ palptr[14 * 4 + 1] = 96;
+ palptr[14 * 4 + 2] = 64;
+ palptr[14 * 4 + 3] = 0;
+
+ palptr[15 * 4 + 0] = 192;
+ palptr[15 * 4 + 1] = 192;
+ palptr[15 * 4 + 2] = 40;
+ palptr[15 * 4 + 3] = 0;
}
}
}