Create config dir if it does not exist; Fixed maxMemFreq detection
This commit is contained in:
@@ -47,6 +47,9 @@ Config::~Config()
|
||||
|
||||
Config *Config::CreateDefault()
|
||||
{
|
||||
if (R_FAILED(FileUtils::mkdir_p(FILE_CONFIG_DIR)))
|
||||
ERROR_THROW("Cannot create " FILE_CONFIG_DIR);
|
||||
|
||||
return new Config(FILE_CONFIG_DIR "/config.ini");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user