From e6431e35997fc19ef8f3709f3925cebeaa4daab3 Mon Sep 17 00:00:00 2001 From: Silent Date: Tue, 22 Sep 2020 18:24:45 +0200 Subject: [PATCH] Fix an outstanding forward slash showing in the UI --- src/core/host_interface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/host_interface.cpp b/src/core/host_interface.cpp index b583a181b..e6c13487f 100644 --- a/src/core/host_interface.cpp +++ b/src/core/host_interface.cpp @@ -673,12 +673,12 @@ TinyString HostInterface::GetTimestampStringForFileName() std::string HostInterface::GetSharedMemoryCardPath(u32 slot) const { - return GetUserDirectoryRelativePath("memcards/shared_card_%d.mcd", slot + 1); + return GetUserDirectoryRelativePath("memcards" FS_OSPATH_SEPARATOR_STR "shared_card_%u.mcd", slot + 1); } std::string HostInterface::GetGameMemoryCardPath(const char* game_code, u32 slot) const { - return GetUserDirectoryRelativePath("memcards/%s_%d.mcd", game_code, slot + 1); + return GetUserDirectoryRelativePath("memcards" FS_OSPATH_SEPARATOR_STR "%s_%u.mcd", game_code, slot + 1); } bool HostInterface::GetBoolSettingValue(const char* section, const char* key, bool default_value /*= false*/)