--- mythgame/mythgame/rominfo.cpp.orig	2006-06-22 22:08:48.000000000 +1200
+++ mythgame/mythgame/rominfo.cpp	2006-06-22 22:54:32.000000000 +1200
@@ -190,6 +190,9 @@
     if (system != "")
         thequery += " AND system=\"" + system + "\"";
 
+    // added order by to get the (first) disk with the accurate diskcount
+    thequery += " ORDER BY diskcount DESC";
+    
     thequery += ";";
 
     MSqlQuery query(MSqlQuery::InitCon());
