Index: mythgame/mythgame/rom_metadata.cpp
===================================================================
--- mythgame/mythgame/rom_metadata.cpp	(Revision 7909)
+++ mythgame/mythgame/rom_metadata.cpp	(Arbeitskopie)
@@ -49,7 +49,7 @@
 
                 // Get CRC of rom data
                 int count;
-                while ((count = unzReadCurrentFile(zf, block, 32768)))
+                while ((count = unzReadCurrentFile(zf, block, 32768))>0)
                 {
                     crc = crc32(crc, (Bytef *)block, (uInt)count);
                 }   
