X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Ffilethread.cpp;h=3b8793c31ffbd3fc6048ddb293ea3c9db17265cb;hb=828059a53ae8bfb03ade4acd1e62c8de9be89775;hp=30aeae8ed51379f523a566e0d9c6b24a4db98c5d;hpb=f76326c730ec5ed013faffa37d655a376fbbc5bb;p=virtualjaguar diff --git a/src/gui/filethread.cpp b/src/gui/filethread.cpp index 30aeae8..3b8793c 100644 --- a/src/gui/filethread.cpp +++ b/src/gui/filethread.cpp @@ -140,9 +140,9 @@ void FileThread::HandleFile(QFileInfo fileInfo) uint32 index = FindCRCIndexInFileList(crc); delete[] buffer; - // Here we filter out files *not* in the DB (if configured that way) and - // BIOS files. - if (index == 0xFFFFFFFF) + // Here we filter out files that are *not* in the DB and of unknown type, + // and BIOS files. If desired, this can be overriden with a config option. + if ((index == 0xFFFFFFFF) && (fileType == JST_NONE)) { // If we allow unknown software, we pass the (-1) index on, otherwise... if (!allowUnknownSoftware)