mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-01 03:32:07 +00: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 New Issue
Block a user