mirror of
https://github.com/fadden/ciderpress.git
synced 2025-08-05 18:25:14 +00:00
Fix DOS T/S end-of-list test
Only affects a small percentage of very large or sparse files. (issue #59)
This commit is contained in:
@@ -2770,7 +2770,7 @@ DIError A2FileDOS::LoadTSList(TrackSector** pTSList, int* pTSCount,
|
||||
if (dierr != kDIErrNone)
|
||||
goto bail;
|
||||
|
||||
if (track != 0 && sector != 0) {
|
||||
if (track != 0) {
|
||||
/* more T/S lists to come, so we keep all entries */
|
||||
tsCount += kMaxTSPairs;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user