mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-30 21:32:50 +00:00
sys_fs: Fixed up one of sys_fs_unmount()'s error codes to match real system behavior
This commit is contained in:
parent
cf4ae38699
commit
70ce7ee106
@ -3225,7 +3225,7 @@ error_code sys_fs_unmount(ppu_thread& ppu, vm::cptr<char> path, s32 unk1, s32 un
|
||||
return {CELL_EPERM, vpath};
|
||||
|
||||
if (mp == &g_mp_sys_no_device)
|
||||
return {CELL_ENOTMOUNTED, vpath};
|
||||
return {CELL_EINVAL, vpath};
|
||||
|
||||
if (mp == &g_mp_sys_dev_root || !lock.try_lock())
|
||||
return {CELL_EBUSY, vpath};
|
||||
|
Loading…
x
Reference in New Issue
Block a user