mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-22 01:39:57 +00:00
DREAMWEB: do not return invalid register from the deallocate memory
This commit is contained in:
parent
55c366b988
commit
d69e437d42
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user