mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-06 02:10:28 +00:00
Fix invalid writes in Elvira 1, the original game would overwrite into _window6BackScn.
svn-id: r27078
This commit is contained in:
parent
c3a346fb16
commit
78c9061cff
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user