aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorFilippos Karapetis2009-05-23 10:07:01 +0000
committerFilippos Karapetis2009-05-23 10:07:01 +0000
commit3811df7aca96071489381a004981b36d578cf427 (patch)
tree3cbbae10272a5e6b4b5b16abf4755ecb31fc2da7 /engines/sci/engine
parent248f415face22b2def45e84630dac66fb407aad9 (diff)
downloadscummvm-rg350-3811df7aca96071489381a004981b36d578cf427.tar.gz
scummvm-rg350-3811df7aca96071489381a004981b36d578cf427.tar.bz2
scummvm-rg350-3811df7aca96071489381a004981b36d578cf427.zip
Fixed the incorrectly placed views in the KQ6 intro, by reintroducing port bounds in the graphics resource manager and removing two relevant hacks
svn-id: r40803
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/kgraphics.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index 14e82a9a62..e956051677 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -2377,6 +2377,9 @@ reg_t kSetPort(EngineState *s, int funct_nr, int argc, reg_t *argv) {
if (s->_gameName != "LSL6") {
s->gfx_state->pic_port_bounds = gfx_rect(UKPV(5), UKPV(4), UKPV(3), UKPV(2));
+ // Notify the graphics resource manager that the pic port bounds changed
+ s->gfx_state->gfxResMan->changePortBounds(UKPV(5), UKPV(4), UKPV(3), UKPV(2));
+
// FIXME: Should really only invalidate all loaded pic resources here;
// this is overkill
s->gfx_state->gfxResMan->freeAllResources();