aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Mettifogo2009-03-17 07:02:14 +0000
committerNicola Mettifogo2009-03-17 07:02:14 +0000
commit92c93656503615ea8d659c094675952744c445fb (patch)
tree828e9c329ca97b12b3cade98de108021aac6c6fd
parent17d38f27636e4416d6399b36a4a09860e2e9f3ec (diff)
downloadscummvm-rg350-92c93656503615ea8d659c094675952744c445fb.tar.gz
scummvm-rg350-92c93656503615ea8d659c094675952744c445fb.tar.bz2
scummvm-rg350-92c93656503615ea8d659c094675952744c445fb.zip
Additional palette is loaded on colors 1-15.
svn-id: r39474
-rw-r--r--engines/parallaction/disk_br.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/parallaction/disk_br.cpp b/engines/parallaction/disk_br.cpp
index 4ef7b5c357..c4790c42ba 100644
--- a/engines/parallaction/disk_br.cpp
+++ b/engines/parallaction/disk_br.cpp
@@ -460,9 +460,9 @@ void AmigaDisk_br::loadBackground(BackgroundInfo& info, const char *filename) {
stream = tryOpenFile("backs/" + Common::String(filename), ".ap");
if (stream) {
- // NOTE: Always 15 palette entries, start at zero or one?
+ // NOTE: Additional palette (15-colors) is always loaded onto colors 1-15
uint32 size = stream->size() / 3;
- for (i = 0; i < size; i++) {
+ for (i = 1; i < size; i++) {
r = stream->readByte() >> 2;
g = stream->readByte() >> 2;
b = stream->readByte() >> 2;