mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-03 13:31:18 +12:00
fixed the string encoding issue on macOS (#277)
This commit is contained in:
parent
6fa0ac6eaa
commit
7864d76eca
3 changed files with 9 additions and 8 deletions
|
@ -300,14 +300,14 @@ void MemorySearcherTool::Load()
|
|||
bool found = false;
|
||||
for (const auto& entry : kDataTypeNames)
|
||||
{
|
||||
if (boost::iequals(entry, *option_type))
|
||||
if (boost::iequals(entry.ToStdString(), *option_type))
|
||||
{
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!found && !boost::iequals(kDatatypeString, *option_type))
|
||||
if (!found && !boost::iequals(kDatatypeString.ToStdString(), *option_type))
|
||||
continue;
|
||||
|
||||
wxVector<wxVariant> data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue