aboutsummaryrefslogtreecommitdiff
path: root/backends/audiocd/macosx
diff options
context:
space:
mode:
authorJohannes Schickel2016-03-15 14:25:42 +0100
committerJohannes Schickel2016-03-15 14:25:42 +0100
commitafe8ea139ccc4e563260494c236642153c540001 (patch)
treedfb55c32a29628b0e393088b3b9239089e7639b8 /backends/audiocd/macosx
parent7725e00e9a10f5bb93ebad2c1befdc448e0d945c (diff)
downloadscummvm-rg350-afe8ea139ccc4e563260494c236642153c540001.tar.gz
scummvm-rg350-afe8ea139ccc4e563260494c236642153c540001.tar.bz2
scummvm-rg350-afe8ea139ccc4e563260494c236642153c540001.zip
MACOSX: Add comment about track ID search loop.
Diffstat (limited to 'backends/audiocd/macosx')
-rw-r--r--backends/audiocd/macosx/macosx-audiocd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/audiocd/macosx/macosx-audiocd.cpp b/backends/audiocd/macosx/macosx-audiocd.cpp
index d03541a2c9..e8d41c3e10 100644
--- a/backends/audiocd/macosx/macosx-audiocd.cpp
+++ b/backends/audiocd/macosx/macosx-audiocd.cpp
@@ -279,6 +279,7 @@ bool MacOSXAudioCDManager::findTrackNames(const Common::String &drivePath) {
if (fileName.hasSuffix(".aiff") || fileName.hasSuffix(".cdda")) {
uint j = 0;
+ // Search for the track ID in the file name.
for (; j < fileName.size() && !Common::isDigit(fileName[j]); j++)
;