mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-17 15:32:30 +08:00
bugfix: if you can't allocate the EMS system handle, then don't enable
VCPI, the handle memory location is invalid. This fixes memory corruption within realmode segment 0x1E8-0x507 when memsize=1.
This commit is contained in:
@@ -67,7 +67,7 @@ static void DOS_Mem_E_Exit(const char *msg) {
|
||||
E_Exit(msg);
|
||||
}
|
||||
|
||||
static void DOS_CompressMemory(Bit16u first_segment=0/*default*/) {
|
||||
void DOS_CompressMemory(Bit16u first_segment=0/*default*/) {
|
||||
Bit16u mcb_segment=dos.firstMCB;
|
||||
DOS_MCB mcb(mcb_segment);
|
||||
DOS_MCB mcb_next(0);
|
||||
|
Reference in New Issue
Block a user