From 11abe50f46e26382d51bf566d361a97c23b9ea9f Mon Sep 17 00:00:00 2001 From: ArtemisX64 Date: Sat, 27 Aug 2022 05:11:49 +0900 Subject: [PATCH] Minor fix --- src/Cafe/TitleList/TitleInfo.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Cafe/TitleList/TitleInfo.cpp b/src/Cafe/TitleList/TitleInfo.cpp index 3363a17b..c500a6ab 100644 --- a/src/Cafe/TitleList/TitleInfo.cpp +++ b/src/Cafe/TitleList/TitleInfo.cpp @@ -8,7 +8,6 @@ #include #include "config/ActiveSettings.h" -#include // detect format by reading file header/footer CafeTitleFileType DetermineCafeSystemFileType(fs::path filePath) @@ -646,10 +645,9 @@ std::string TitleInfo::GetInstallPath() const { TitleId titleId = GetAppTitleId(); TitleIdParser tip(titleId); - std::string tmp; std::filesystem::path path = "usr"; if (tip.IsSystemTitle()) path = "sys"; - tmp = (path / "title" / fmt::format("{:08x}",GetTitleIdHigh(titleId)) / fmt::format("{:08x}", GetTitleIdLow(titleId))).string(); + std::string tmp = (path / "title" / fmt::format("{:08x}",GetTitleIdHigh(titleId)) / fmt::format("{:08x}", GetTitleIdLow(titleId))).string(); return tmp; }