Update of /cvsroot/freevo/freevo/src/games
In directory sc8-pr-cvs1:/tmp/cvs-serv3409
Modified Files:
mame_cache.py
Log Message:
A fix in case the user doesn't have mame. Pass the files along to
the next emulator.
Index: mame_cache.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/games/mame_cache.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** mame_cache.py 20 Jun 2003 01:33:56 -0000 1.6
--- mame_cache.py 20 Jun 2003 01:57:21 -0000 1.7
***************
*** 10,13 ****
--- 10,17 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.7 2003/06/20 01:57:21 rshortt
+ # A fix in case the user doesn't have mame. Pass the files along to
+ # the next emulator.
+ #
# Revision 1.6 2003/06/20 01:33:56 rshortt
# Removing the need for the rominfo program. Now we parse the output of
***************
*** 171,174 ****
--- 175,180 ----
saveMameRomList(mameRomList)
+ return TRUE
+
#
***************
*** 185,190 ****
waitmsg = PopupBox(text='Generating MAME cache, please wait.')
waitmsg.show()
! updateMameRomList()
waitmsg.destroy()
mameRomList = getMameRomList()
--- 191,199 ----
waitmsg = PopupBox(text='Generating MAME cache, please wait.')
waitmsg.show()
! mame_ok = updateMameRomList()
waitmsg.destroy()
+
+ if not mame_ok:
+ return (mame_files, [])
mameRomList = getMameRomList()
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog