Fix dolphin-emu path resolution

This commit is contained in:
Phillip Stephens 2016-12-28 15:03:37 -08:00
parent 7077252b8d
commit 7e45ceef27
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ kabufuda::SystemString CMemoryCardSys::ResolveDolphinCardPath(kabufuda::ECardSlo
/* XDG-selected data path */
kabufuda::SystemString path =
(dataHome && dataHome[0] == '/') ? dataHome : (home + "/.local/share") + "/.dolphin-emu";
((dataHome && dataHome[0] == '/') ? dataHome : hecl::SystemString(home)) + "/.local/share/dolphin-emu";
path += hecl::Format("/GC/MemoryCard%c.USA.raw",
slot == kabufuda::ECardSlot::SlotA ? 'A' : 'B');