Skip to content

Commit 31e5333

Browse files
committed
Fix: EMUFILE feature of specifying the directory on "set" not working.
1 parent f9be16b commit 31e5333

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/tools/C/emufile.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ typedef struct {
5757
/* Strings */
5858

5959
const char* strTitle=
60-
"Disk image emulation tool for Nextor v1.2\r\n"
61-
"By Konamiman, 10/2019\r\n"
60+
"Disk image emulation tool for Nextor v1.21\r\n"
61+
"By Konamiman, 7/2020\r\n"
6262
"\r\n";
6363

6464
const char* strUsage=
@@ -494,7 +494,7 @@ bool DirectoryExists(char* dirName)
494494
if(regs.Bytes.A != 0)
495495
TerminateWithDosError(regs.Bytes.A);
496496

497-
return (regs.Bytes.B & FILEATTR_DIRECTORY) != 0;
497+
return (fib->attributes & FILEATTR_DIRECTORY) != 0;
498498
}
499499

500500
void ProcessFileFound()

0 commit comments

Comments
 (0)