aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/workarounds.h
diff options
context:
space:
mode:
authorMatthew Hoops2010-07-28 03:54:14 +0000
committerMatthew Hoops2010-07-28 03:54:14 +0000
commit50e493f3ef368847b95d443bee13f6918bbab34e (patch)
tree781784fa8775fc3b156170b3fbcaa777fa54e4e5 /engines/sci/engine/workarounds.h
parent97b1cd34cf5b41c08e3e80f3dd9ce59db9865093 (diff)
downloadscummvm-rg350-50e493f3ef368847b95d443bee13f6918bbab34e.tar.gz
scummvm-rg350-50e493f3ef368847b95d443bee13f6918bbab34e.tar.bz2
scummvm-rg350-50e493f3ef368847b95d443bee13f6918bbab34e.zip
SCI: Fix bug #3035720 - SQ1SCI demo: Menu crash
kCelWide and kCelHigh are called with the second two parameters as objects instead of integers. We fake return the real width/height of the view in question to allow the quit menu to work. Values found by examining the view passed as the first parameter. svn-id: r51401
Diffstat (limited to 'engines/sci/engine/workarounds.h')
-rw-r--r--engines/sci/engine/workarounds.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/engine/workarounds.h b/engines/sci/engine/workarounds.h
index 01c7676247..d509d300d7 100644
--- a/engines/sci/engine/workarounds.h
+++ b/engines/sci/engine/workarounds.h
@@ -73,6 +73,8 @@ extern const SciWorkaroundEntry opcodeOrWorkarounds[];
extern const SciWorkaroundEntry opcodeDptoaWorkarounds[];
extern const SciWorkaroundEntry uninitializedReadWorkarounds[];
extern const SciWorkaroundEntry kAbs_workarounds[];
+extern const SciWorkaroundEntry kCelHigh_workarounds[];
+extern const SciWorkaroundEntry kCelWide_workarounds[];
extern const SciWorkaroundEntry kDisplay_workarounds[];
extern const SciWorkaroundEntry kDisposeScript_workarounds[];
extern const SciWorkaroundEntry kDoSoundFade_workarounds[];