From c26af987c20955e6b2a3d97f9cc4e6aa6cb36bdd Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Thu, 16 Feb 2006 22:49:26 +0000 Subject: Fix overlay images not always been marked as compressed in the Feeble Files svn-id: r20735 --- engines/simon/vga.cpp | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'engines/simon/vga.cpp') 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) { -- cgit v1.2.3