mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00: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
|
|
@ -2635,7 +2635,7 @@ public:
|
|||
|
||||
if (g_cfg.core.spu_debug)
|
||||
{
|
||||
fs::file(m_spurt->get_cache_path() + "spu-ir.log", fs::write + fs::append).write(log);
|
||||
fs::write_file(m_spurt->get_cache_path() + "spu-ir.log", fs::write + fs::append, log);
|
||||
}
|
||||
|
||||
if (auto& cache = g_fxo->get<spu_cache>())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue