mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-06 04:04:53 +01:00
UTF8 paths are now properly handled on windows.
This commit is contained in:
parent
b8eae2b709
commit
51702b898e
5 changed files with 147 additions and 96 deletions
|
|
@ -49,7 +49,7 @@ static void load_old_interface_versions()
|
|||
static bool loaded = false;
|
||||
if (loaded) return;
|
||||
std::string interfaces_path = Local_Storage::get_program_path() + "steam_interfaces.txt";
|
||||
std::ifstream input( interfaces_path );
|
||||
std::ifstream input( utf8_decode(interfaces_path) );
|
||||
PRINT_DEBUG("load from: %s\n", interfaces_path.c_str());
|
||||
|
||||
for( std::string line; getline( input, line ); )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue