Fix func 36h (Get free disk space) fails in some redirectors:

- David Maxey's PHANTOM (Undocumented DOS 2nd edition)
  - Novell CD-ROM extension NWCDEX (DR DOS 7.03)
This commit is contained in:
lpproj 2019-05-15 14:44:52 +09:00 committed by Kenneth J Davis
parent 61647299c6
commit 6be00f83c1

View File

@ -759,6 +759,7 @@ UWORD DosGetFree(UBYTE drive, UWORD * navc, UWORD * bps, UWORD * nc)
if (cdsp == NULL) if (cdsp == NULL)
return spc; return spc;
current_ldt = cdsp;
if (cdsp->cdsFlags & CDSNETWDRV) if (cdsp->cdsFlags & CDSNETWDRV)
{ {
if (remote_getfree(cdsp, rg) != SUCCESS) if (remote_getfree(cdsp, rg) != SUCCESS)