aboutsummaryrefslogtreecommitdiff
path: root/engines/cine
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-04-07 01:04:09 +0000
committerTorbjörn Andersson2006-04-07 01:04:09 +0000
commit15cc2e628d4831c6c2ff4478b7549121dc444c9c (patch)
tree1533eedb002dce898dbd0316343f8bc30b356d25 /engines/cine
parent997c023095652365bdb5d471f8874247136557cb (diff)
downloadscummvm-rg350-15cc2e628d4831c6c2ff4478b7549121dc444c9c.tar.gz
scummvm-rg350-15cc2e628d4831c6c2ff4478b7549121dc444c9c.tar.bz2
scummvm-rg350-15cc2e628d4831c6c2ff4478b7549121dc444c9c.zip
Small cleanup.
svn-id: r21655
Diffstat (limited to 'engines/cine')
-rw-r--r--engines/cine/bg.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/cine/bg.cpp b/engines/cine/bg.cpp
index 0ff09c939d..d2dcf60c75 100644
--- a/engines/cine/bg.cpp
+++ b/engines/cine/bg.cpp
@@ -91,10 +91,9 @@ byte loadBg(const char *bgName) {
} else {
colorMode256 = 0;
- memcpy(tempPalette, ptr, 32); ptr += 32;
-
for (int i = 0; i < 16; i++) {
- tempPalette[i] = TO_BE_16(tempPalette[i]);
+ tempPalette[i] = READ_BE_UINT16(ptr);
+ ptr += 2;
}
loadRelatedPalette(bgName);