diff --git a/rpcs3/Emu/Cell/Modules/cellSysutil.cpp b/rpcs3/Emu/Cell/Modules/cellSysutil.cpp index 421aa2469f..f29a6939d5 100644 --- a/rpcs3/Emu/Cell/Modules/cellSysutil.cpp +++ b/rpcs3/Emu/Cell/Modules/cellSysutil.cpp @@ -324,10 +324,13 @@ s32 cellSysCacheMount(vm::ptr param) strcpy_trunc(param->getCachePath, cache_path); // TODO: implement (what?) - fs::create_dir(vfs::get(cache_path)); fxm::make_always(*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;