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

Method MakeCacheEntry

src/Cafe/TitleList/TitleInfo.cpp:125–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125TitleInfo::CachedInfo TitleInfo::MakeCacheEntry()
126{
127 cemu_assert_debug(IsValid());
128 CachedInfo e;
129 e.titleDataFormat = m_titleFormat;
130 e.path = m_fullPath;
131 e.subPath = m_subPath;
132 e.titleId = GetAppTitleId();
133 e.titleVersion = GetAppTitleVersion();
134 e.sdkVersion = GetAppSDKVersion();
135 e.titleName = GetMetaTitleName();
136 e.region = GetMetaRegion();
137 e.group_id = GetAppGroup();
138 e.app_type = GetAppType();
139 return e;
140}
141
142// WUA can contain multiple titles. Root directory contains one directory for each title. The name must match: <titleId>_v<version>
143bool TitleInfo::ParseWuaTitleFolderName(std::string_view name, TitleId& titleIdOut, uint16& titleVersionOut)

Callers 1

StoreCacheFileMethod · 0.80

Calls 1

cemu_assert_debugFunction · 0.85

Tested by

no test coverage detected