mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-12-06 07:12:28 +01:00
Fix VFS initialization
This commit is contained in:
parent
8cf025bf71
commit
c43a126f62
|
|
@ -25,6 +25,12 @@ struct vfs_manager
|
|||
|
||||
bool vfs::mount(std::string_view vpath, std::string_view path)
|
||||
{
|
||||
if (!g_fxo->get<vfs_manager>())
|
||||
{
|
||||
// Init (TODO)
|
||||
g_fxo->init<vfs_manager>();
|
||||
}
|
||||
|
||||
const auto table = g_fxo->get<vfs_manager>();
|
||||
|
||||
std::lock_guard lock(table->mutex);
|
||||
|
|
|
|||
Loading…
Reference in a new issue