mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 07:21:25 +12:00
sys_fs_mkdir: implement ENOENT
This commit is contained in:
parent
3901f08fa0
commit
a428dac71c
1 changed files with 1 additions and 0 deletions
|
@ -582,6 +582,7 @@ error_code sys_fs_mkdir(vm::cptr<char> path, s32 mode)
|
||||||
{
|
{
|
||||||
switch (auto error = fs::g_tls_error)
|
switch (auto error = fs::g_tls_error)
|
||||||
{
|
{
|
||||||
|
case fs::error::noent: return {CELL_ENOENT, path};
|
||||||
case fs::error::exist: return {CELL_EEXIST, path};
|
case fs::error::exist: return {CELL_EEXIST, path};
|
||||||
default: sys_fs.error("sys_fs_mkdir(): unknown error %s", error);
|
default: sys_fs.error("sys_fs_mkdir(): unknown error %s", error);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue