mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 05:51:27 +12: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
1 changed files with 3 additions and 6 deletions
|
@ -3058,14 +3058,11 @@ 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++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
*len = count;
|
*len = 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)
|
if (mp == &g_mp_sys_dev_root || mp == &g_mp_sys_dev_flash)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue