Fixed crash on start if config does not exists

Cleanup OpenGL renerer
This commit is contained in:
DHrpcs3 2015-12-21 03:28:07 +02:00
parent e4631f93bd
commit 7416fe91fc
10 changed files with 6 additions and 536 deletions

View file

@ -33,7 +33,10 @@ namespace rpcs3
void config_t::load()
{
from_string(fs::file(m_path));
fs::file file(m_path);
if (file)
from_string((const std::string)file);
}
void config_t::save() const