Merge pull request #1366 from chaoren/master

Create config file if it doesn't exist.
This commit is contained in:
Raul Tambre 2015-12-24 21:39:50 +02:00
commit 0e0345824e
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ namespace rpcs3
void config_t::load() void config_t::load()
{ {
fs::file file(m_path); fs::file file(m_path, fom::create | fom::read);
if (file) if (file)
from_string((const std::string)file); from_string((const std::string)file);