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

Method setIntValue

pcsx2-qt/Settings/ControllerSettingsWindow.cpp:356–369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

354}
355
356void ControllerSettingsWindow::setIntValue(const char* section, const char* key, s32 value)
357{
358 if (m_profile_interface)
359 {
360 m_profile_interface->SetIntValue(section, key, value);
361 saveAndReloadGameSettings();
362 }
363 else
364 {
365 Host::SetBaseIntSettingValue(section, key, value);
366 Host::CommitBaseSettingChanges();
367 g_emu_thread->applySettings();
368 }
369}
370
371void ControllerSettingsWindow::setStringValue(const char* section, const char* key, const char* value)
372{

Callers 3

getIntMethod · 0.45
updateFrequencyMethod · 0.45
onSubTypeChangedMethod · 0.45

Calls 2

applySettingsMethod · 0.80
SetIntValueMethod · 0.45

Tested by

no test coverage detected