From 55b6b319eb3a88ce046bb1f1576a1dd2f33c9952 Mon Sep 17 00:00:00 2001 From: Ulf Wohlers Date: Thu, 10 Apr 2003 10:35:50 +0000 Subject: [PATCH] removed clear mapping on free xms Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@900 --- src/ints/xms.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ints/xms.cpp b/src/ints/xms.cpp index 9adbd282..6905a710 100644 --- a/src/ints/xms.cpp +++ b/src/ints/xms.cpp @@ -169,8 +169,6 @@ Bitu XMS_FreeMemory(Bitu handle) if (!handle || (handle>=XMS_HANDLES) || !xms_handles[handle].active || !xms_handles[handle].allocated ) { return XMS_INVALID_HANDLE; } - /* Remove the mapping to the memory */ - MEM_ClearMapping(PAGE_COUNT(xms_handles[handle].phys),PAGE_COUNT(xms_handles[handle].size*1024)); /* Free the memory in the block and merge the blocks previous and next block */ Bit16u prev=xms_handles[handle].prev; Bit16u next=xms_handles[handle].next;