libcda now only checks for current track is CDMode is not :off or :stopped

This commit is contained in:
nehalmistry 2002-04-07 19:50:11 +00:00
parent e830c4b3e9
commit c107314558

View file

@ -274,12 +274,11 @@ global void CDRomCheck(void)
} else if (!strcmp(CDMode, ":random")) {
PlayMusic(":random");
}
} else {
} else if (strcmp(CDMode, ":off") && strcmp(CDMode, ":stopped")) {
DebugLevel0Fn("get track\n");
CDTrack = cd_current_track() + 1;
if (CDTrack > NumCDTracks) {
if (CDTrack > NumCDTracks)
CDTrack = 1;
}
}
#endif
}