mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 17:01:24 +12:00
Use g_fxo for patch_engine
This commit is contained in:
parent
cfdd298693
commit
7a00b5f809
3 changed files with 10 additions and 10 deletions
|
@ -365,7 +365,7 @@ void Emulator::Init()
|
|||
#endif
|
||||
|
||||
// Initialize patch engine
|
||||
fxm::make_always<patch_engine>()->append(fs::get_config_dir() + "/patch.yml");
|
||||
g_fxo->init<patch_engine>()->append(fs::get_config_dir() + "/patch.yml");
|
||||
|
||||
// Initialize progress dialog server (TODO)
|
||||
if (g_progr.exchange("") == nullptr)
|
||||
|
@ -999,7 +999,7 @@ void Emulator::Load(const std::string& title_id, bool add_only, bool force_globa
|
|||
}
|
||||
|
||||
// Load patches from different locations
|
||||
fxm::check_unlocked<patch_engine>()->append(fs::get_config_dir() + "data/" + m_title_id + "/patch.yml");
|
||||
g_fxo->get<patch_engine>()->append(fs::get_config_dir() + "data/" + m_title_id + "/patch.yml");
|
||||
|
||||
// Mount all devices
|
||||
const std::string emu_dir = GetEmuDir();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue