From f59ebfd30340964fc27f7486c55512beb83b28b8 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Fri, 18 Mar 2016 16:48:25 +0000 Subject: [PATCH] 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 --- src/dos/dos_files.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dos/dos_files.cpp b/src/dos/dos_files.cpp index 38853bf0..fa053a4f 100644 --- a/src/dos/dos_files.cpp +++ b/src/dos/dos_files.cpp @@ -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;