mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-28 13:18:30 +00:00
sys_fs: use constant in sys_fs_disk_free
This commit is contained in:
parent
7fcc49004d
commit
a005090d3d
1 changed files with 1 additions and 1 deletions
|
@ -1715,7 +1715,7 @@ error_code sys_fs_disk_free(ppu_thread& ppu, vm::cptr<char> path, vm::ptr<u64> t
|
||||||
}
|
}
|
||||||
|
|
||||||
// It seems max length is 31, and multiple / at the start aren't supported
|
// It seems max length is 31, and multiple / at the start aren't supported
|
||||||
if (vpath.size() > 31)
|
if (vpath.size() > CELL_FS_MAX_MP_LENGTH)
|
||||||
{
|
{
|
||||||
return {CELL_ENAMETOOLONG, path};
|
return {CELL_ENAMETOOLONG, path};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue