mirror of
https://github.com/clockworkpi/launcher.git
synced 2026-05-01 02:19:35 +02:00
fix rom alias name utf8,decode
This commit is contained in:
@@ -3,4 +3,5 @@ ROM_SO=/home/cpi/apps/emulators/mame2003_plus_libretro.so
|
|||||||
EXT=zip
|
EXT=zip
|
||||||
LAUNCHER=retroarch -L
|
LAUNCHER=retroarch -L
|
||||||
TITLE=MAME Roms
|
TITLE=MAME Roms
|
||||||
SO_URL=https://raw.githubusercontent.com/cuu/emulators/master/mame2003_plus_libretro.so.zip
|
EXCLUDE=neogeo.zip
|
||||||
|
SO_URL=https://raw.githubusercontent.com/cuu/emulators/master/mame2003_plus_libretro.so.zip
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ class ListItem(object):
|
|||||||
fp = open(alias_file, "r")
|
fp = open(alias_file, "r")
|
||||||
alias = fp.read()
|
alias = fp.read()
|
||||||
fp.close()
|
fp.close()
|
||||||
label_text = alias
|
label_text = alias.decode("utf8")
|
||||||
|
|
||||||
if self._MyType == ICON_TYPES["DIR"]:
|
if self._MyType == ICON_TYPES["DIR"]:
|
||||||
l.Init(label_text,self._Fonts["normal"])
|
l.Init(label_text,self._Fonts["normal"])
|
||||||
|
|||||||
Reference in New Issue
Block a user