mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 18:53:28 +01:00
gui: Fix OpenCorrectionDialog message
It was incorrectly trying to get the previous setting value after updating the setting
This commit is contained in:
parent
11681f02cc
commit
2abbedcc50
@ -1,4 +1,4 @@
|
||||
#include "emu_settings.h"
|
||||
#include "emu_settings.h"
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "Emu/System.h"
|
||||
@ -494,8 +494,9 @@ void emu_settings::OpenCorrectionDialog(QWidget* parent)
|
||||
for (const auto& type : m_broken_types)
|
||||
{
|
||||
std::string def = GetSettingDefault(type);
|
||||
std::string old = GetSetting(type);
|
||||
SetSetting(type, def);
|
||||
LOG_SUCCESS(GENERAL, "The config entry '%s' was corrected from '%s' to '%s'", GetSettingName(type), GetSetting(type), def);
|
||||
LOG_SUCCESS(GENERAL, "The config entry '%s' was corrected from '%s' to '%s'", GetSettingName(type), old, def);
|
||||
}
|
||||
|
||||
m_broken_types.clear();
|
||||
|
Loading…
Reference in New Issue
Block a user