diff --git a/rpcs3/Emu/Cell/lv2/sys_fs.cpp b/rpcs3/Emu/Cell/lv2/sys_fs.cpp index eb47f08fc8..aba940e268 100644 --- a/rpcs3/Emu/Cell/lv2/sys_fs.cpp +++ b/rpcs3/Emu/Cell/lv2/sys_fs.cpp @@ -1715,7 +1715,7 @@ error_code sys_fs_disk_free(ppu_thread& ppu, vm::cptr path, vm::ptr 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}; }