| 369 | } |
| 370 | |
| 371 | void 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 | |
| 386 | void ControllerSettingsWindow::clearSettingValue(const char* section, const char* key) |
| 387 | { |
no test coverage detected