mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-13 02:08:50 +01:00
commit
e59787d5cd
@ -342,7 +342,7 @@ class FavListPage(Page):
|
|||||||
if self._Emulator["ROM_SO"] =="": #empty means No needs for rom so
|
if self._Emulator["ROM_SO"] =="": #empty means No needs for rom so
|
||||||
pygame.event.post( pygame.event.Event(RUNEVT, message=cmdpath))
|
pygame.event.post( pygame.event.Event(RUNEVT, message=cmdpath))
|
||||||
else:
|
else:
|
||||||
if FileExists(self._Emulator["ROM_SO"]):
|
if FileExists(self._Emulator["ROM_SO"].split(" ")[0]):
|
||||||
pygame.event.post( pygame.event.Event(RUNEVT, message=cmdpath))
|
pygame.event.post( pygame.event.Event(RUNEVT, message=cmdpath))
|
||||||
else:
|
else:
|
||||||
self._Screen.PushPage(self._RomSoConfirmDownloadPage)
|
self._Screen.PushPage(self._RomSoConfirmDownloadPage)
|
||||||
|
|||||||
@ -73,8 +73,8 @@ class ListItem(object):
|
|||||||
|
|
||||||
label_text = os.path.basename(text)
|
label_text = os.path.basename(text)
|
||||||
alias_file = os.path.splitext(text)[0] + ".alias"
|
alias_file = os.path.splitext(text)[0] + ".alias"
|
||||||
if os.path.isfile(alias_file):
|
if os.path.isfile(alias_file.encode("utf8")):
|
||||||
fp = open(alias_file, "r")
|
fp = open(alias_file.encode("utf8"), "r")
|
||||||
alias = fp.read()
|
alias = fp.read()
|
||||||
fp.close()
|
fp.close()
|
||||||
label_text = alias.decode("utf8")
|
label_text = alias.decode("utf8")
|
||||||
|
|||||||
@ -385,7 +385,7 @@ class RomListPage(Page):
|
|||||||
if self._Emulator["ROM_SO"] =="": #empty means No needs for rom so
|
if self._Emulator["ROM_SO"] =="": #empty means No needs for rom so
|
||||||
pygame.event.post( pygame.event.Event(RUNEVT, message=cmdpath))
|
pygame.event.post( pygame.event.Event(RUNEVT, message=cmdpath))
|
||||||
else:
|
else:
|
||||||
if FileExists(self._Emulator["ROM_SO"]):
|
if FileExists(self._Emulator["ROM_SO"].split(" ")[0]):
|
||||||
pygame.event.post( pygame.event.Event(RUNEVT, message=cmdpath))
|
pygame.event.post( pygame.event.Event(RUNEVT, message=cmdpath))
|
||||||
else:
|
else:
|
||||||
self._Screen.PushPage(self._RomSoConfirmDownloadPage)
|
self._Screen.PushPage(self._RomSoConfirmDownloadPage)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user