mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-12-24 11:48:34 +01:00
steam_interfaces.txt can now be put in the steam_settings folder.
This commit is contained in:
parent
0a5f136bc3
commit
f852e5c272
1 changed files with 5 additions and 0 deletions
|
@ -50,6 +50,11 @@ static void load_old_interface_versions()
|
|||
if (loaded) return;
|
||||
std::string interfaces_path = Local_Storage::get_program_path() + "steam_interfaces.txt";
|
||||
std::ifstream input( utf8_decode(interfaces_path) );
|
||||
if (!input.is_open()) {
|
||||
interfaces_path = Local_Storage::get_game_settings_path() + "steam_interfaces.txt";
|
||||
input = std::ifstream(utf8_decode(interfaces_path));
|
||||
}
|
||||
|
||||
PRINT_DEBUG("load from: %s\n", interfaces_path.c_str());
|
||||
|
||||
for( std::string line; getline( input, line ); )
|
||||
|
|
Loading…
Reference in a new issue