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:
parent
048006f2ac
commit
7ee73a90b7
1 changed files with 0 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue