diff options
-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) { |