mirror of https://github.com/RPCS3/rpcs3.git
Merge pull request #1366 from chaoren/master
Create config file if it doesn't exist.
This commit is contained in:
commit
0e0345824e
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue