Create config file if it doesn't exist.

This commit is contained in:
Chaoren Lin 2015-12-22 09:31:47 -08:00
parent 813e753e3d
commit d917cfa43f

View File

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