| 342 | } |
| 343 | |
| 344 | std::string VMManager::GetTitle(bool prefer_en) |
| 345 | { |
| 346 | std::unique_lock lock(s_info_mutex); |
| 347 | std::string out = s_title; |
| 348 | if (prefer_en && !s_title_en_search.empty()) |
| 349 | { |
| 350 | size_t pos = out.find(s_title_en_search); |
| 351 | if (pos != out.npos) |
| 352 | out.replace(pos, s_title_en_search.size(), s_title_en_replace); |
| 353 | } |
| 354 | return out; |
| 355 | } |
| 356 | |
| 357 | u32 VMManager::GetDiscCRC() |
| 358 | { |
no test coverage detected