From cb5436dd16653b01fa5834f573b0aa6954744a30 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 31 Jan 2018 18:37:24 +0100 Subject: TUCKER: Clarify comment in room palette handling code --- engines/tucker/locations.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/tucker/locations.cpp') 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; -- cgit v1.2.3