mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-14 06:40:53 +00:00
sys_fs: Fix ENOTMOUNTED of open
This commit is contained in:
parent
bba5285740
commit
58847fa2ca
@ -536,7 +536,7 @@ lv2_file::open_result_t lv2_file::open(std::string_view vpath, s32 flags, s32 mo
|
|||||||
std::string path;
|
std::string path;
|
||||||
const std::string local_path = vfs::get(vpath, nullptr, &path);
|
const std::string local_path = vfs::get(vpath, nullptr, &path);
|
||||||
|
|
||||||
const auto mp = lv2_fs_object::get_mp(path);
|
const auto mp = lv2_fs_object::get_mp(vpath);
|
||||||
|
|
||||||
if (mp == &g_mp_sys_dev_root)
|
if (mp == &g_mp_sys_dev_root)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user