fix rom alias name utf8,decode

This commit is contained in:
cuu 2018-08-17 12:32:02 +08:00
parent 315a9a12b1
commit 586a76d37b
2 changed files with 3 additions and 2 deletions

View File

@ -3,4 +3,5 @@ ROM_SO=/home/cpi/apps/emulators/mame2003_plus_libretro.so
EXT=zip
LAUNCHER=retroarch -L
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

View File

@ -78,7 +78,7 @@ class ListItem(object):
fp = open(alias_file, "r")
alias = fp.read()
fp.close()
label_text = alias
label_text = alias.decode("utf8")
if self._MyType == ICON_TYPES["DIR"]:
l.Init(label_text,self._Fonts["normal"])