From d917cfa43f8d90b66e070a266045eb7ed6889a1f Mon Sep 17 00:00:00 2001 From: Chaoren Lin Date: Tue, 22 Dec 2015 09:31:47 -0800 Subject: [PATCH] Create config file if it doesn't exist. --- rpcs3/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/config.cpp b/rpcs3/config.cpp index cc9f43c686..745509ba11 100644 --- a/rpcs3/config.cpp +++ b/rpcs3/config.cpp @@ -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);