aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/tucker/locations.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/tucker/locations.cpp b/engines/tucker/locations.cpp
index e337279694..1a727900be 100644
--- a/engines/tucker/locations.cpp
+++ b/engines/tucker/locations.cpp
@@ -1791,8 +1791,9 @@ void TuckerEngine::execData3PreUpdate_locationNum29() {
const int d = _updateLocationFadePaletteCounter / 2;
uint8 scrollPal[5 * 3];
for (int i = 0; i < 5; ++i) {
- // TODO: Why is this needed? 6-bit colors?
// Bug Trac#6378. Shift the palette two bits to the left.
+ // The original was writing to 0x3C8-0x3c9 VGA registers which are
+ // 6-bit
scrollPal[i * 3 + 0] = r[i + d] << 2;
scrollPal[i * 3 + 1] = g[i + d] << 2;
scrollPal[i * 3 + 2] = b[i + d] << 2;