DREAMWEB: do not return invalid register from the deallocate memory

This commit is contained in:
Vladimir Menshakov 2011-06-13 12:56:28 +04:00 committed by Alyssa Milburn
parent 55c366b988
commit d69e437d42

View File

@ -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) {