diff options
author | Travis Howell | 2007-06-04 07:04:42 +0000 |
---|---|---|
committer | Travis Howell | 2007-06-04 07:04:42 +0000 |
commit | 78c9061cff0a67fd5f146934d0edf8298f91936e (patch) | |
tree | 29072bf565084131ff6712fc368791fa324f9f4f /engines | |
parent | c3a346fb1608d5638ba813822f9cedd0f24b5194 (diff) | |
download | scummvm-rg350-78c9061cff0a67fd5f146934d0edf8298f91936e.tar.gz scummvm-rg350-78c9061cff0a67fd5f146934d0edf8298f91936e.tar.bz2 scummvm-rg350-78c9061cff0a67fd5f146934d0edf8298f91936e.zip |
Fix invalid writes in Elvira 1, the original game would overwrite into _window6BackScn.
svn-id: r27078
Diffstat (limited to 'engines')
-rw-r--r-- | engines/agos/agos.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agos/agos.cpp b/engines/agos/agos.cpp index 33737057f8..8efb17a6c4 100644 --- a/engines/agos/agos.cpp +++ b/engines/agos/agos.cpp @@ -607,7 +607,7 @@ int AGOSEngine::init() { } else if (getGameType() == GType_WW || getGameType() == GType_ELVIRA2) { _window4BackScn = (byte *)calloc(224 * 127, 1); } else if (getGameType() == GType_ELVIRA1) { - _window4BackScn = (byte *)calloc(224 * 127, 1); + _window4BackScn = (byte *)calloc(224 * 144, 1); _window6BackScn = (byte *)calloc(48 * 80, 1); } |