mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
Remove some fxo->need calls
This commit is contained in:
parent
14c92efd38
commit
edf74313ef
2 changed files with 4 additions and 4 deletions
|
|
@ -144,8 +144,10 @@ bool vfs::unmount(std::string_view vpath)
|
|||
|
||||
vfs_log.notice("About to unmount '%s'", vpath);
|
||||
|
||||
// Workaround
|
||||
g_fxo->need<vfs_manager>();
|
||||
if (!g_fxo->is_init<vfs_manager>())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
auto& table = g_fxo->get<vfs_manager>();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue