From 7e45ceef27a5aa08e18511700fca4c074dbf6921 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Wed, 28 Dec 2016 15:03:37 -0800 Subject: [PATCH] Fix dolphin-emu path resolution --- Runtime/CMemoryCardSysNix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/CMemoryCardSysNix.cpp b/Runtime/CMemoryCardSysNix.cpp index 5e5264c65..7748a806c 100644 --- a/Runtime/CMemoryCardSysNix.cpp +++ b/Runtime/CMemoryCardSysNix.cpp @@ -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');