From 31e533335d7919f01df7364e96b54d976b193c9a Mon Sep 17 00:00:00 2001 From: Nestor Soriano Date: Wed, 29 Jul 2020 14:46:31 +0200 Subject: [PATCH] Fix: EMUFILE feature of specifying the directory on "set" not working. --- source/tools/C/emufile.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/tools/C/emufile.c b/source/tools/C/emufile.c index d374c6fe..051f7aef 100644 --- a/source/tools/C/emufile.c +++ b/source/tools/C/emufile.c @@ -57,8 +57,8 @@ typedef struct { /* Strings */ const char* strTitle= - "Disk image emulation tool for Nextor v1.2\r\n" - "By Konamiman, 10/2019\r\n" + "Disk image emulation tool for Nextor v1.21\r\n" + "By Konamiman, 7/2020\r\n" "\r\n"; const char* strUsage= @@ -494,7 +494,7 @@ bool DirectoryExists(char* dirName) if(regs.Bytes.A != 0) TerminateWithDosError(regs.Bytes.A); - return (regs.Bytes.B & FILEATTR_DIRECTORY) != 0; + return (fib->attributes & FILEATTR_DIRECTORY) != 0; } void ProcessFileFound()