mirror of
https://github.com/fadden/ciderpress.git
synced 2024-11-21 14:31:55 +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:
parent
118b306e11
commit
e4cf9d8ba5
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user