]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/gui/filethread.cpp
Start of model/view class implementation, since QListViewWidget ultimately
[virtualjaguar] / src / gui / filethread.cpp
index 1f5a5aab51223e50e6d11af57d6a4f6b4c8d3214..55d9e4223a8a93b93615e8ae7923c944f869eb81 100644 (file)
@@ -133,10 +133,22 @@ void FileThread::run(void)
        QDir romDir(vjs.ROMPath);
        QFileInfoList list = romDir.entryInfoList();
 
+/*
+Another thing we'll probably have to do here is check for compressed files and
+decompress/fish around in them to find what we need. :-P
+*/
+
        for(int i=0; i<list.size(); i++)
        {
                if (abort)
+#if 1
+{
+printf("FileThread: Aborting!!!\n");
+#endif
                        return;
+#if 1
+}
+#endif
 
                QFileInfo fileInfo = list.at(i);
                QFile file(romDir.filePath(fileInfo.fileName()));
@@ -164,7 +176,8 @@ printf("FileThread: Found match [%s]...\n", romList[index].name);
 }
 
 //
-// Find a CRC in the ROM list. If it's there, return the index, otherwise return $FFFFFFFF
+// Find a CRC in the ROM list (simple brute force algorithm).
+// If it's there, return the index, otherwise return $FFFFFFFF
 //
 uint32 FileThread::FindCRCIndexInFileList(uint32 crc)
 {