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

Method ReportGameChangeToHost

pcsx2/VMManager.cpp:1224–1232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1222}
1223
1224void VMManager::ReportGameChangeToHost()
1225{
1226 const std::string& disc_path = CDVDsys_GetFile(CDVDsys_GetSourceType());
1227 const u32 crc_to_report = HasBootedELF() ? s_current_crc : 0;
1228 const bool prefer_english = Host::GetBaseBoolSettingValue("UI", "PreferEnglishGameList", false);
1229 const std::string game_title = GetTitle(prefer_english);
1230 FullscreenUI::GameChanged(disc_path, s_disc_serial, game_title, s_disc_crc, crc_to_report);
1231 Host::OnGameChanged(game_title, s_elf_override, disc_path, s_disc_serial, s_disc_crc, crc_to_report);
1232}
1233
1234bool VMManager::HasBootedELF()
1235{

Callers

nothing calls this directly

Calls 1

CDVDsys_GetSourceTypeFunction · 0.85

Tested by

no test coverage detected