Fix creation of devices using FCB_Create. Fixes MS Object linker 1.10 and thus bug #435.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3971
This commit is contained in:
parent
663c86378f
commit
f59ebfd303
1 changed files with 1 additions and 1 deletions
|
@ -479,7 +479,7 @@ bool DOS_CreateFile(char const * name,Bit16u attributes,Bit16u * entry,bool fcb)
|
|||
// Creation of a device is the same as opening it
|
||||
// Tc201 installer
|
||||
if (DOS_FindDevice(name) != DOS_DEVICES)
|
||||
return DOS_OpenFile(name, OPEN_READ, entry);
|
||||
return DOS_OpenFile(name, OPEN_READ, entry, fcb);
|
||||
|
||||
LOG(LOG_FILES,LOG_NORMAL)("file create attributes %X file %s",attributes,name);
|
||||
char fullname[DOS_PATHLENGTH];Bit8u drive;
|
||||
|
|
Loading…
Add table
Reference in a new issue