diff options
author | Vladimir Menshakov | 2011-06-13 12:56:28 +0400 |
---|---|---|
committer | Alyssa Milburn | 2011-06-15 17:34:41 +0200 |
commit | d69e437d42b50273eabd8d77fc76ec7a9216326c (patch) | |
tree | cc04ce27a63d89613c80cc2d306290f3f8984ab1 | |
parent | 55c366b988e4e49342690f0fc4b180822f005272 (diff) | |
download | scummvm-rg350-d69e437d42b50273eabd8d77fc76ec7a9216326c.tar.gz scummvm-rg350-d69e437d42b50273eabd8d77fc76ec7a9216326c.tar.bz2 scummvm-rg350-d69e437d42b50273eabd8d77fc76ec7a9216326c.zip |
DREAMWEB: do not return invalid register from the deallocate memory
-rw-r--r-- | engines/dreamweb/dreamweb.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/dreamweb/dreamweb.cpp b/engines/dreamweb/dreamweb.cpp index af7ccc83e3..6b9fda8882 100644 --- a/engines/dreamweb/dreamweb.cpp +++ b/engines/dreamweb/dreamweb.cpp @@ -561,6 +561,7 @@ void allocatemem(Context &context) { void deallocatemem(Context &context) { debug(1, "deallocating segment %04x", (uint16)context.es); context.deallocateSegment(context.es); + context.es = context.data; } void removeemm(Context &context) { |