mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 16:01:42 +12:00
Minor fs::file usage fixes
Do not crash on file creation failure. Make some config writes atomic.
This commit is contained in:
parent
4c9296c07f
commit
0b22423ab8
9 changed files with 21 additions and 9 deletions
|
@ -1274,7 +1274,7 @@ spu_runtime::spu_runtime()
|
|||
return;
|
||||
}
|
||||
|
||||
if (g_cfg.core.spu_debug)
|
||||
if (g_cfg.core.spu_debug && g_cfg.core.spu_decoder != spu_decoder_type::dynamic && g_cfg.core.spu_decoder != spu_decoder_type::_static)
|
||||
{
|
||||
if (!fs::create_dir(m_cache_path + "llvm/"))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue