1
0
Fork 0

Hack for 0xcd memory no longer needed

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1142
This commit is contained in:
Sjoerd van der Berg 2003-07-23 11:45:08 +00:00
parent 048006f2ac
commit 7ee73a90b7

View file

@ -142,9 +142,6 @@ static bool MakeEnv(char * name,Bit16u * segment) {
}
if (parentenv) {
// hack to allow creation from envblock in unused mem (0xCD)
if (mem_readb(envread)==0xCDCD) mem_writew(envread,0x0000);
for (envsize=0; ;envsize++) {
if (envsize>=MAXENV - ENV_KEEPFREE) {
DOS_SetError(DOSERR_ENVIRONMENT_INVALID);