From 3dd6961ee52e0753cad71611444372665c0b0e16 Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Sun, 25 Aug 2019 17:21:00 +0300 Subject: [PATCH] Use g_fxo in PPUThread.cpp misc Replace fxm::get_always --- rpcs3/Emu/Cell/PPUThread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/Cell/PPUThread.cpp b/rpcs3/Emu/Cell/PPUThread.cpp index 1841e60eb4..84e7f2ae55 100644 --- a/rpcs3/Emu/Cell/PPUThread.cpp +++ b/rpcs3/Emu/Cell/PPUThread.cpp @@ -1341,7 +1341,7 @@ extern void ppu_initialize(const ppu_module& info) if (g_cfg.core.ppu_decoder != ppu_decoder_type::llvm) { // Temporarily - s_ppu_toc = fxm::get_always>().get(); + s_ppu_toc = g_fxo->get>(); for (const auto& func : info.funcs) { @@ -1454,7 +1454,7 @@ extern void ppu_initialize(const ppu_module& info) }; // Permanently loaded compiled PPU modules (name -> data) - jit_module& jit_mod = fxm::get_always>()->emplace(cache_path + info.name, jit_module{}).first->second; + jit_module& jit_mod = g_fxo->get>()->emplace(cache_path + info.name, jit_module{}).first->second; // Compiler instance (deferred initialization) std::shared_ptr jit;