]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/gui/filethread.cpp
Fix to compile on win32.
[virtualjaguar] / src / gui / filethread.cpp
index 3b8793c31ffbd3fc6048ddb293ea3c9db17265cb..bde97eddab985324e251aef1ffdca97477580fa9 100644 (file)
@@ -1,10 +1,10 @@
 //
 // filethread.cpp - File discovery thread
 //
-// by James L. Hammons
+// by James Hammons
 // (C) 2010 Underground Software
 //
-// JLH = James L. Hammons <jlhamm@acm.org>
+// JLH = James Hammons <jlhamm@acm.org>
 //
 // Who  When        What
 // ---  ----------  -------------------------------------------------------------
@@ -148,7 +148,7 @@ void FileThread::HandleFile(QFileInfo fileInfo)
                if (!allowUnknownSoftware)
                        return;                                                         // CRC wasn't found, so bail...
        }
-       else if (romList[index].flags & FF_BIOS)
+       else if ((index != 0xFFFFFFFF) && romList[index].flags & FF_BIOS)
                return;
 
 //Here's a little problem. When we create the image here and pass it off to FilePicker,