| 1222 | } |
| 1223 | |
| 1224 | void 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 | |
| 1234 | bool VMManager::HasBootedELF() |
| 1235 | { |
nothing calls this directly
no test coverage detected