From: <rs...@us...> - 2003-06-20 01:57:24
|
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() |