mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-07-10 01:24:41 -06:00
MemorySearcherTool: Use Use std::string with boost::icontains
This commit is contained in:
parent
dbca758a60
commit
642d2c2fd9
@ -300,14 +300,14 @@ void MemorySearcherTool::Load()
|
||||
bool found = false;
|
||||
for (const auto& entry : kDataTypeNames)
|
||||
{
|
||||
if (boost::iequals(entry, *option_type))
|
||||
if (boost::iequals(std::string(entry.mb_str()), *option_type))
|
||||
{
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!found && !boost::iequals(kDatatypeString, *option_type))
|
||||
if (!found && !boost::iequals(std::string(kDatatypeString.mb_str()), *option_type))
|
||||
continue;
|
||||
|
||||
wxVector<wxVariant> data;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user