decoder/{gme,sidplay}: fix off-by-one bug in container_scan()
Broken by commit 0abee77e62
This commit is contained in:
@@ -499,7 +499,7 @@ sidplay_container_scan(Path path_fs)
|
||||
return list;
|
||||
|
||||
auto tail = list.before_begin();
|
||||
for (unsigned i = 1; i < n_tracks; ++i) {
|
||||
for (unsigned i = 1; i <= n_tracks; ++i) {
|
||||
char track_name[32];
|
||||
/* Construct container/tune path names, eg.
|
||||
Delta.sid/tune_001.sid */
|
||||
|
||||
Reference in New Issue
Block a user