diff --git a/Storage/Disk/Formats/CPCDSK.cpp b/Storage/Disk/Formats/CPCDSK.cpp index bd320d608..de4c678d6 100644 --- a/Storage/Disk/Formats/CPCDSK.cpp +++ b/Storage/Disk/Formats/CPCDSK.cpp @@ -60,6 +60,7 @@ std::shared_ptr CPCDSK::get_uncached_track_at_position(unsigned int head, unsigned int t = 0; while(t < chronological_track && t < track_sizes_.size()) { file_offset += track_sizes_[t]; + t++; } } else { // Tracks are a fixed size in the original DSK file format.