mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-22 04:25:19 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue