MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / GetTitle

Method GetTitle

pcsx2/VMManager.cpp:344–355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342}
343
344std::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
357u32 VMManager::GetDiscCRC()
358{

Callers 8

loadOrGenerateCoverMethod · 0.80
dataMethod · 0.80
DrawSettingsWindowMethod · 0.80
DrawGameListMethod · 0.80
DrawGameGridMethod · 0.80
HandleGameListOptionsMethod · 0.80

Calls 4

emptyMethod · 0.45
findMethod · 0.45
replaceMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected