MCPcopy Create free account
hub / github.com/cemu-project/Cemu / GetMlcStoragePath

Function GetMlcStoragePath

src/Cafe/CafeSystem.cpp:1038–1042  ·  view source on GitHub ↗

/vol/storage_mlc01/ /title/ /

Source from the content-addressed store, hash-verified

1036
1037 // /vol/storage_mlc01/<usr or sys>/title/<titleIdHigh>/<titleIdLow>
1038 std::string GetMlcStoragePath(TitleId titleId)
1039 {
1040 TitleIdParser tip(titleId);
1041 return fmt::format("/vol/storage_mlc01/{}/title/{:08x}/{:08x}", tip.IsSystemTitle() ? "sys" : "usr", (uint32)(titleId >> 32), (uint32)(titleId & 0xFFFFFFFF));
1042 }
1043
1044 std::map<TitleId, TitleInfo*> m_mlcMountedTitles;
1045

Callers 6

MlcStorageMountTitleFunction · 0.85
StreamBootSoundMethod · 0.85
LatteShaderCache_LoadFunction · 0.85
mcpBuildTitleListFunction · 0.85
CreateSaveMetaFilesFunction · 0.85

Calls 2

formatFunction · 0.85
IsSystemTitleMethod · 0.80

Tested by

no test coverage detected