mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-01 03:32:07 +00:00
sys_fs_mkdir: implement ENOENT
This commit is contained in:
parent
3901f08fa0
commit
a428dac71c
@ -582,6 +582,7 @@ error_code sys_fs_mkdir(vm::cptr<char> path, s32 mode)
|
||||
{
|
||||
switch (auto error = fs::g_tls_error)
|
||||
{
|
||||
case fs::error::noent: return {CELL_ENOENT, path};
|
||||
case fs::error::exist: return {CELL_EEXIST, path};
|
||||
default: sys_fs.error("sys_fs_mkdir(): unknown error %s", error);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user