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

Method setStringValue

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

Source from the content-addressed store, hash-verified

369}
370
371void ControllerSettingsWindow::setStringValue(const char* section, const char* key, const char* value)
372{
373 if (m_profile_interface)
374 {
375 m_profile_interface->SetStringValue(section, key, value);
376 saveAndReloadGameSettings();
377 }
378 else
379 {
380 Host::SetBaseStringSettingValue(section, key, value);
381 Host::CommitBaseSettingChanges();
382 g_emu_thread->applySettings();
383 }
384}
385
386void ControllerSettingsWindow::clearSettingValue(const char* section, const char* key)
387{

Callers 2

updateBindsMethod · 0.45
linkButtonMethod · 0.45

Calls 2

applySettingsMethod · 0.80
SetStringValueMethod · 0.45

Tested by

no test coverage detected