mirror of https://github.com/AxioDL/metaforce.git
Fix dolphin-emu path resolution
This commit is contained in:
parent
7077252b8d
commit
7e45ceef27
|
@ -12,7 +12,7 @@ kabufuda::SystemString CMemoryCardSys::ResolveDolphinCardPath(kabufuda::ECardSlo
|
||||||
|
|
||||||
/* XDG-selected data path */
|
/* XDG-selected data path */
|
||||||
kabufuda::SystemString 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",
|
path += hecl::Format("/GC/MemoryCard%c.USA.raw",
|
||||||
slot == kabufuda::ECardSlot::SlotA ? 'A' : 'B');
|
slot == kabufuda::ECardSlot::SlotA ? 'A' : 'B');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue