CDImageHasher: Only ignore index 0 for track 1

This commit is contained in:
Connor McLaughlin 2020-12-07 00:44:48 +10:00
parent 0fbb69a3ef
commit e579cd2eb2
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ static bool ReadTrack(CDImage* image, u8 track, MD5Digest* digest, ProgressCallb
progress_callback->SetProgressValue(index);
// skip index 0 if data track
if (index == 0 && image->GetTrackMode(track) != CDImage::TrackMode::Audio)
if (track == 1 && index == 0)
continue;
progress_callback->PushState();