From 78c9061cff0a67fd5f146934d0edf8298f91936e Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 4 Jun 2007 07:04:42 +0000 Subject: Fix invalid writes in Elvira 1, the original game would overwrite into _window6BackScn. svn-id: r27078 --- engines/agos/agos.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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); } -- cgit v1.2.3