| 354 | } |
| 355 | |
| 356 | void 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 | |
| 371 | void ControllerSettingsWindow::setStringValue(const char* section, const char* key, const char* value) |
| 372 | { |
no test coverage detected