mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-03 21:41:19 +12:00
Refactor more wstring instances to utf8-encoded string
This commit is contained in:
parent
f6c3c96d94
commit
abce406ee8
26 changed files with 82 additions and 114 deletions
|
@ -923,7 +923,7 @@ void GeneralSettings2::StoreConfig()
|
|||
|
||||
config.game_paths.clear();
|
||||
for (auto& path : m_game_paths->GetStrings())
|
||||
config.game_paths.emplace_back(path);
|
||||
config.game_paths.emplace_back(path.utf8_string());
|
||||
|
||||
auto selection = m_language->GetSelection();
|
||||
if (selection == 0)
|
||||
|
@ -1530,7 +1530,7 @@ void GeneralSettings2::ApplyConfig()
|
|||
|
||||
for (auto& path : config.game_paths)
|
||||
{
|
||||
m_game_paths->Append(path);
|
||||
m_game_paths->Append(to_wxString(path));
|
||||
}
|
||||
|
||||
const auto app = (CemuApp*)wxTheApp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue