mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 01:46:42 +00:00
Fixing ConfigManager::loadConfigFile
svn-id: r34707
This commit is contained in:
parent
45284cfad9
commit
cdc66fc120
@ -77,8 +77,9 @@ void ConfigManager::loadDefaultConfigFile() {
|
||||
void ConfigManager::loadConfigFile(const String &filename) {
|
||||
_filename = filename;
|
||||
|
||||
FilesystemNode node(filename);
|
||||
File cfg_file;
|
||||
if (!cfg_file.open(filename)) {
|
||||
if (!cfg_file.open(node)) {
|
||||
printf("Creating configuration file: %s\n", filename.c_str());
|
||||
} else {
|
||||
printf("Using configuration file: %s\n", _filename.c_str());
|
||||
|
Loading…
x
Reference in New Issue
Block a user