[gnome-video-arcade] Exclude BIOS sets when counting ROMs at startup.



commit 8026f8f3e6742e05244cda225a1a4af150ac897d
Author: Matthew Barnes <mbarnes redhat com>
Date:   Tue Mar 9 20:24:25 2010 -0500

    Exclude BIOS sets when counting ROMs at startup.

 src/main.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index 6fff161..caa67d2 100644
--- a/src/main.c
+++ b/src/main.c
@@ -45,7 +45,8 @@
 
 #define SQL_COUNT_ROMS \
         "SELECT count(*) FROM game WHERE " \
-        "romset NOTNULL AND romset != 'not found'"
+        "romset NOTNULL AND romset != 'not found' " \
+        "AND isbios != 'yes'"
 
 static GOptionEntry entries[] =
 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]