mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-04 05:51:19 +12:00
Minor fix
This commit is contained in:
parent
dd62ed7f51
commit
11abe50f46
1 changed files with 1 additions and 3 deletions
|
@ -8,7 +8,6 @@
|
||||||
|
|
||||||
#include <zarchive/zarchivereader.h>
|
#include <zarchive/zarchivereader.h>
|
||||||
#include "config/ActiveSettings.h"
|
#include "config/ActiveSettings.h"
|
||||||
#include <filesystem>
|
|
||||||
|
|
||||||
// detect format by reading file header/footer
|
// detect format by reading file header/footer
|
||||||
CafeTitleFileType DetermineCafeSystemFileType(fs::path filePath)
|
CafeTitleFileType DetermineCafeSystemFileType(fs::path filePath)
|
||||||
|
@ -646,10 +645,9 @@ std::string TitleInfo::GetInstallPath() const
|
||||||
{
|
{
|
||||||
TitleId titleId = GetAppTitleId();
|
TitleId titleId = GetAppTitleId();
|
||||||
TitleIdParser tip(titleId);
|
TitleIdParser tip(titleId);
|
||||||
std::string tmp;
|
|
||||||
std::filesystem::path path = "usr";
|
std::filesystem::path path = "usr";
|
||||||
if (tip.IsSystemTitle())
|
if (tip.IsSystemTitle())
|
||||||
path = "sys";
|
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;
|
return tmp;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue