mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-30 12:32:43 +00:00
sys_fs: sys_fs_get_mount_info(): Made g_mp_sys_dev_root always reported as mounted
This commit is contained in:
parent
151a0955cf
commit
cdc1d0c02b
@ -3058,12 +3058,9 @@ error_code sys_fs_get_mount_info_size(ppu_thread&, vm::ptr<u64> len)
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
else if (mp == &g_mp_sys_dev_root || !vfs::get(mp->root).empty())
|
||||
{
|
||||
if (!vfs::get(mp->root).empty())
|
||||
{
|
||||
count++;
|
||||
}
|
||||
count++;
|
||||
}
|
||||
}
|
||||
|
||||
@ -3114,7 +3111,7 @@ error_code sys_fs_get_mount_info(ppu_thread&, vm::ptr<CellFsMountInfo> info, u64
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (!vfs::get(mp->root).empty())
|
||||
else if (mp == &g_mp_sys_dev_root || !vfs::get(mp->root).empty())
|
||||
{
|
||||
if (mp == &g_mp_sys_dev_root || mp == &g_mp_sys_dev_flash)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user