chdcd: also accept .toast as a synonym for ISO images (nw)

This commit is contained in:
arbee 2018-09-12 23:48:51 -04:00
parent aec4b10df6
commit 9dea8bbd37

View File

@ -1173,7 +1173,7 @@ chd_error chdcd_parse_toc(const char *tocfname, cdrom_toc &outtoc, chdcd_track_i
return chdcd_parse_nero(tocfname, outtoc, outinfo);
}
if (strstr(tocftemp,".iso") || strstr(tocftemp,".cdr"))
if (strstr(tocftemp,".iso") || strstr(tocftemp,".cdr") || strstr(tocftemp,".toast"))
{
return chdcd_parse_iso(tocfname, outtoc, outinfo);
}