Revert bad wxString ini fix which was actually caused by a bad Arch package

This commit is contained in:
refractionpcsx2 2020-08-23 01:39:13 +01:00
parent f6c138ca7e
commit deed83a282
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ void IniLoader::Entry(const wxString &var, uint &value, const uint defvalue)
void IniLoader::Entry(const wxString &var, bool &value, const bool defvalue)
{
// TODO : Stricter value checking on enabled/disabled?
wxString dest(defvalue ? "enabled" : "disabled", 8);
wxString dest(defvalue ? L"enabled" : L"disabled");
if (m_Config)
m_Config->Read(var, &dest, dest);
value = (dest == L"enabled") || (dest == L"1");