diff options
author | David Corrales | 2007-07-09 02:57:47 +0000 |
---|---|---|
committer | David Corrales | 2007-07-09 02:57:47 +0000 |
commit | c1961f1f76e91595624a2e49e48b0fab5f412f27 (patch) | |
tree | 153f22ec3cedaa0f47bf2ee2b9c9a8a969840c2c | |
parent | 1a965aad9568b296545890b7bb61e0de7b052e26 (diff) | |
download | scummvm-rg350-c1961f1f76e91595624a2e49e48b0fab5f412f27.tar.gz scummvm-rg350-c1961f1f76e91595624a2e49e48b0fab5f412f27.tar.bz2 scummvm-rg350-c1961f1f76e91595624a2e49e48b0fab5f412f27.zip |
Kirben's fix to Simon the Sorcerer floppy version crash.
svn-id: r27986
-rw-r--r-- | engines/agos/gfx.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/agos/gfx.cpp b/engines/agos/gfx.cpp index 2b530fdcd6..15937db0da 100644 --- a/engines/agos/gfx.cpp +++ b/engines/agos/gfx.cpp @@ -666,6 +666,9 @@ void AGOSEngine_Simon1::drawImage(VC10_state *state) { } else if (getGameType() == GType_SIMON1 && (getFeatures() & GF_DEMO)) { // The DOS Floppy demo was based off Waxworks engine if (_windowNum == 4 || (_windowNum >= 10 && _windowNum <= 27)) { + state->surf2_addr = getBackGround(); + state->surf2_pitch = _screenWidth; + state->surf_addr = _window4BackScn; state->surf_pitch = _videoWindows[18] * 16; |