mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-15 19:28:43 +12:00
Fix cellSysCacheMount error checking
This commit is contained in:
parent
24699f0f96
commit
4db79c458d
1 changed files with 5 additions and 2 deletions
|
@ -324,10 +324,13 @@ s32 cellSysCacheMount(vm::ptr<CellSysCacheParam> param)
|
||||||
strcpy_trunc(param->getCachePath, cache_path);
|
strcpy_trunc(param->getCachePath, cache_path);
|
||||||
|
|
||||||
// TODO: implement (what?)
|
// TODO: implement (what?)
|
||||||
fs::create_dir(vfs::get(cache_path));
|
|
||||||
fxm::make_always<CellSysCacheParam>(*param);
|
fxm::make_always<CellSysCacheParam>(*param);
|
||||||
|
if (!fs::create_dir(vfs::get(cache_path)))
|
||||||
|
{
|
||||||
|
return CELL_SYSCACHE_RET_OK_RELAYED;
|
||||||
|
}
|
||||||
|
|
||||||
return CELL_SYSCACHE_RET_OK_RELAYED;
|
return CELL_SYSCACHE_RET_OK_CLEARED;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool g_bgm_playback_enabled = true;
|
bool g_bgm_playback_enabled = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue