Correct null return on system name prettification

- Add RPCS3 to system name prettification reference list
This commit is contained in:
icenine451 2024-06-20 13:27:51 -04:00
parent 9942837d82
commit d6860e734e
2 changed files with 3 additions and 2 deletions

View file

@ -1,3 +1,4 @@
citra^Citra (Nintendo 3DS Standalone Emulator, via Ponzu)
dolphin^Dolphin (GameCube / Wii Standalone Emulator) dolphin^Dolphin (GameCube / Wii Standalone Emulator)
duckstation^Duckstation (Sony Playstation Standalone Emulator) duckstation^Duckstation (Sony Playstation Standalone Emulator)
gb^Nintendo GameBoy gb^Nintendo GameBoy
@ -11,7 +12,7 @@ ppsspp^PPSSPP (Sony PSP Standalone Emulator)
primehack^Primehack (Metroid Prime Standalone Emulator) primehack^Primehack (Metroid Prime Standalone Emulator)
psx_ra^Sony Playstation (RetroArch Core) psx_ra^Sony Playstation (RetroArch Core)
retroarch^RetroArch (Multi-emulator Frontend) retroarch^RetroArch (Multi-emulator Frontend)
rpcs3^RPCS3 (Sony Playstation 3 Standalone Emulator)
ryujinx^Ryujinx (Nintendo Switch Standalone Emulator) ryujinx^Ryujinx (Nintendo Switch Standalone Emulator)
snes^Nintendo Super Nintendo snes^Nintendo Super Nintendo
yuzu^Yuzu (Nintendo Switch Standalone Emulator, via Ponzu) yuzu^Yuzu (Nintendo Switch Standalone Emulator, via Ponzu)
citra^Citra (Nintendo 3DS Standalone Emulator, via Ponzu)

View file

@ -313,7 +313,7 @@ make_name_pretty() {
if [[ ! -z "$system" ]]; then if [[ ! -z "$system" ]]; then
IFS='^' read -r internal_name pretty_name < <(echo "$system") IFS='^' read -r internal_name pretty_name < <(echo "$system")
else else
pretty_name="$system" pretty_name="$1"
fi fi
echo "$pretty_name" echo "$pretty_name"
} }