mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-12 13:13:43 +00:00
sys_fs: use constant in sys_fs_disk_free
This commit is contained in:
parent
7fcc49004d
commit
a005090d3d
@ -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
|
||||
if (vpath.size() > 31)
|
||||
if (vpath.size() > CELL_FS_MAX_MP_LENGTH)
|
||||
{
|
||||
return {CELL_ENAMETOOLONG, path};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user