aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2006-02-16 22:49:26 +0000
committerTravis Howell2006-02-16 22:49:26 +0000
commitc26af987c20955e6b2a3d97f9cc4e6aa6cb36bdd (patch)
treebe4e2eb64363104f39995e3d25f836f46d5edf41 /engines
parent5c98378e84f9a3cdffde2f19e8105e24ed0f9d1a (diff)
downloadscummvm-rg350-c26af987c20955e6b2a3d97f9cc4e6aa6cb36bdd.tar.gz
scummvm-rg350-c26af987c20955e6b2a3d97f9cc4e6aa6cb36bdd.tar.bz2
scummvm-rg350-c26af987c20955e6b2a3d97f9cc4e6aa6cb36bdd.zip
Fix overlay images not always been marked as compressed in the Feeble Files
svn-id: r20735
Diffstat (limited to 'engines')
-rw-r--r--engines/simon/vga.cpp16
1 files changed, 11 insertions, 5 deletions
diff --git a/engines/simon/vga.cpp b/engines/simon/vga.cpp
index 599a04cdb8..5c322fce65 100644
--- a/engines/simon/vga.cpp
+++ b/engines/simon/vga.cpp
@@ -709,13 +709,19 @@ void SimonEngine::vc10_draw() {
state.palette);
// TODO::Add support for image overlay and scaling in Feeble Files
- if (flags & 0x80 && !(state.flags & 0x10)) {
- if (state.flags & 1) {
- state.flags &= ~1;
- state.flags |= 0x10;
- } else {
+ if (getGameType() == GType_FF) {
+ if (flags & 0x80) {
state.flags |= 0x8;
}
+ } else {
+ if (flags & 0x80 && !(state.flags & 0x10)) {
+ if (state.flags & 1) {
+ state.flags &= ~1;
+ state.flags |= 0x10;
+ } else {
+ state.flags |= 0x8;
+ }
+ }
}
if (getGameType() == GType_FF) {