diff options
author | Daniel Serpell <daniel.serpell@gmail.com> | 2019-12-20 21:18:35 -0300 |
---|---|---|
committer | Daniel Serpell <daniel.serpell@gmail.com> | 2019-12-20 21:18:35 -0300 |
commit | e3431dea05d3d9dc425953e9a73c38c13bd47852 (patch) | |
tree | 4e4f745ec4aa374f5b756abe2cc323141e280b71 | |
parent | e96a85085206d697bc4c0b865ff37907093f6f69 (diff) | |
download | emu2-e3431dea05d3d9dc425953e9a73c38c13bd47852.tar.gz |
Fixes filename length in FCB.
-rw-r--r-- | src/dosnames.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dosnames.c b/src/dosnames.c index b242c5c..ffa4634 100644 --- a/src/dosnames.c +++ b/src/dosnames.c @@ -551,7 +551,7 @@ char *dos_unix_path_fcb(int addr, int force) drive = drive - 1; // And copy file name memcpy(fcb_name, &memory[addr+1], 11); - fcb_name[12] = 0; + fcb_name[11] = 0; debug(debug_dos, "\tconvert dos fcb name %c:'%s'\n", drive + 'A', fcb_name); // Copy current directory |