aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2010-07-01 22:56:02 +0000
committerFilippos Karapetis2010-07-01 22:56:02 +0000
commit21450f1a2e6033c706c7027a255844ae83a51f92 (patch)
tree6a67344182f9a5f8cacdde9515769d1dab3771d8 /engines
parente47dee2faaa04286c39ad5e8d2f066157188cb23 (diff)
downloadscummvm-rg350-21450f1a2e6033c706c7027a255844ae83a51f92.tar.gz
scummvm-rg350-21450f1a2e6033c706c7027a255844ae83a51f92.tar.bz2
scummvm-rg350-21450f1a2e6033c706c7027a255844ae83a51f92.zip
Added a workaround for an unitialized variable in GK2
svn-id: r50580
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/vm.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp
index cdbdd0beb1..45cb117bcf 100644
--- a/engines/sci/engine/vm.cpp
+++ b/engines/sci/engine/vm.cpp
@@ -344,6 +344,7 @@ static const SciWorkaroundEntry uninitializedReadWorkarounds[] = {
{ GID_LAURABOW2, 24, 0, "gcWin", "open", -1, 5, { 0, 0xf } }, // is used as priority for game menu
{ GID_FREDDYPHARKAS, 24, 0, "gcWin", "open", -1, 5, { 0, 0xf } }, // is used as priority for game menu
{ GID_FREDDYPHARKAS, 31, 0, "quitWin", "open", -1, 5, { 0, 0xf } }, // is used as priority for game menu
+ { GID_GK2, 11, 0, "", "export 10", -1, 3, { 0, 0 } }, // called when the game starts
{ GID_JONES, 232, 0, "weekendText", "draw", 0x3d3, 0, { 0, 0 } }, // jones/cd only - gets called during the game
{ GID_JONES, 255, 0, "", "export 0", -1, 13, { 0, 0 } }, // jones/ega&vga only - called when the game starts
{ GID_JONES, 255, 0, "", "export 0", -1, 14, { 0, 0 } }, // jones/ega&vga only - called when the game starts