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

Method SwitchToGameSettings

pcsx2/ImGui/FullscreenUI_Settings.cpp:1661–1670  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1659}
1660
1661void FullscreenUI::SwitchToGameSettings(const std::string_view serial, u32 crc)
1662{
1663 s_game_settings_entry.reset();
1664 s_game_settings_interface = std::make_unique<INISettingsInterface>(VMManager::GetGameSettingsPath(serial, crc));
1665 s_game_settings_interface->Load();
1666 PopulatePatchesAndCheatsList(serial, crc);
1667 s_current_main_window = MainWindowType::Settings;
1668 s_settings_page = SettingsPage::Summary;
1669 QueueResetFocus(FocusResetType::WindowChanged);
1670}
1671
1672void FullscreenUI::SwitchToGameSettings()
1673{

Callers

nothing calls this directly

Calls 4

resetMethod · 0.45
LoadMethod · 0.45
emptyMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected