mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
sys_fs: fix mountpoint detection
This commit is contained in:
parent
ef3b0db7d8
commit
d477889763
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ lv2_fs_mount_point* lv2_fs_object::get_mp(std::string_view filename)
|
||||||
|
|
||||||
if (mp_begin + 1)
|
if (mp_begin + 1)
|
||||||
{
|
{
|
||||||
const auto mp_name = filename.substr(mp_begin, filename.find_first_of('/', mp_begin));
|
const auto mp_name = filename.substr(mp_begin, filename.find_first_of('/', mp_begin) - mp_begin);
|
||||||
|
|
||||||
if (mp_name == "dev_hdd1"sv)
|
if (mp_name == "dev_hdd1"sv)
|
||||||
return &g_mp_sys_dev_hdd1;
|
return &g_mp_sys_dev_hdd1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue