Skip to content

Commit

Permalink
Fix: EMUFILE feature of specifying the directory on "set" not working.
Browse files Browse the repository at this point in the history
  • Loading branch information
Konamiman committed Jul 29, 2020
1 parent f9be16b commit 31e5333
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/tools/C/emufile.c
Expand Up @@ -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=
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit 31e5333

Please sign in to comment.