+/*
+Let's think about this... What *do* we need to send out?
+we need the filename for sure. image file if it exists.
+do we need the index? I think we're only using it to pull the label from the subdir...
+we might need it if we want to pull ROM flags from the fileDB...
+*/
+ if (index != 0xFFFFFFFF && !(romList[index].flags & FF_BIOS))
+ {
+ QImage img;
+ size = GetFileFromZIP(fileInfo.canonicalFilePath().toAscii(), FT_LABEL, buffer);
+
+ if (size > 0)
+ {
+ img.loadFromData(buffer, size);
+ delete[] buffer;
+ }
+//printf("FileThread: Attempted to load image. Size: %u x %u...\n", img.width(), img.height());
+
+// emit FoundAFile(index);
+ emit FoundAFile2(index, fileInfo.canonicalFilePath(), &img);
+ }
+ }