aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/bg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cine/bg.cpp')
-rw-r--r--engines/cine/bg.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/cine/bg.cpp b/engines/cine/bg.cpp
index 351a633b5e..b6c07a05cb 100644
--- a/engines/cine/bg.cpp
+++ b/engines/cine/bg.cpp
@@ -50,7 +50,7 @@ byte loadCt(const char *ctName) {
uint16 bpp = READ_BE_UINT16(ptr); ptr += 2;
if (bpp == 8) {
ctColorMode = 1;
- memcpy(newPalette, ptr, 256*3);
+ memcpy(newPalette, ptr, 256 * 3);
ptr += 3 * 256;
memcpy(page3Raw, ptr, 320 * 200);
} else {
@@ -134,13 +134,11 @@ void addBackground(const char *bgName, uint16 bgIdx) {
additionalBgTable[bgIdx] = (byte *) malloc(320 * 200);
- debug("addBackground %d", bgIdx);
-
uint16 bpp = READ_BE_UINT16(ptr); ptr += 2;
if (bpp == 8) {
bgColorMode = 1;
- memcpy(newPalette, ptr, 256*3);
+ memcpy(newPalette, ptr, 256 * 3);
ptr += 3 * 256;
memcpy(additionalBgTable[bgIdx], ptr, 320 * 200);
} else {