| 123 | } |
| 124 | |
| 125 | TitleInfo::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> |
| 143 | bool TitleInfo::ParseWuaTitleFolderName(std::string_view name, TitleId& titleIdOut, uint16& titleVersionOut) |
no test coverage detected