From fd0fb702bb867e6fad543cf1f16d4208ebadbc26 Mon Sep 17 00:00:00 2001 From: nihirash Date: Tue, 11 Jun 2019 18:58:38 +0300 Subject: [PATCH] Fixed TRD creation for second and next files --- scl2trd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scl2trd.c b/scl2trd.c index 139ac7e..fe8ee8f 100644 --- a/scl2trd.c +++ b/scl2trd.c @@ -94,6 +94,9 @@ void writeCatalog() { uint8_t i; totalFreeSect = 2544; + freeTrack = 1; + freeSec = 0; + count = 0; oStream = ESXDOS_fopen(filePath, ESXDOS_FILEMODE_WRITE_CREATE, drive); iferror {