summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/savedata_factory.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-04-25 17:54:48 +0200
committerLioncash <mathew1800@gmail.com>2018-04-25 18:35:37 +0200
commit3f78a61f09c97a115828521f3ee99c3db83c29f8 (patch)
treee6d0fb855294332706a7d8d5522dcdd3c1a8b185 /src/core/file_sys/savedata_factory.cpp
parentfile-sys: Move logging macros over to the new fmt-capable ones (diff)
downloadyuzu-3f78a61f09c97a115828521f3ee99c3db83c29f8.tar
yuzu-3f78a61f09c97a115828521f3ee99c3db83c29f8.tar.gz
yuzu-3f78a61f09c97a115828521f3ee99c3db83c29f8.tar.bz2
yuzu-3f78a61f09c97a115828521f3ee99c3db83c29f8.tar.lz
yuzu-3f78a61f09c97a115828521f3ee99c3db83c29f8.tar.xz
yuzu-3f78a61f09c97a115828521f3ee99c3db83c29f8.tar.zst
yuzu-3f78a61f09c97a115828521f3ee99c3db83c29f8.zip
Diffstat (limited to 'src/core/file_sys/savedata_factory.cpp')
-rw-r--r--src/core/file_sys/savedata_factory.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/file_sys/savedata_factory.cpp b/src/core/file_sys/savedata_factory.cpp
index a1491f542..c1be8fee4 100644
--- a/src/core/file_sys/savedata_factory.cpp
+++ b/src/core/file_sys/savedata_factory.cpp
@@ -2,11 +2,9 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
-#include <cinttypes>
#include <memory>
#include "common/common_types.h"
#include "common/logging/log.h"
-#include "common/string_util.h"
#include "core/core.h"
#include "core/file_sys/disk_filesystem.h"
#include "core/file_sys/savedata_factory.h"
@@ -50,8 +48,7 @@ std::string SaveData_Factory::GetFullPath() const {
u64 title_id = Core::CurrentProcess()->program_id;
// TODO(Subv): Somehow obtain this value.
u32 user = 0;
- return Common::StringFromFormat("%ssave/%016" PRIX64 "/%08X/", nand_directory.c_str(), title_id,
- user);
+ return fmt::format("{}save/{:016X}/{:08X}/", nand_directory, title_id, user);
}
} // namespace FileSys