mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 02:08:49 +12:00
Use g_fxo in PPUThread.cpp misc
Replace fxm::get_always
This commit is contained in:
parent
232e815f17
commit
3dd6961ee5
1 changed files with 2 additions and 2 deletions
|
@ -1341,7 +1341,7 @@ extern void ppu_initialize(const ppu_module& info)
|
||||||
if (g_cfg.core.ppu_decoder != ppu_decoder_type::llvm)
|
if (g_cfg.core.ppu_decoder != ppu_decoder_type::llvm)
|
||||||
{
|
{
|
||||||
// Temporarily
|
// Temporarily
|
||||||
s_ppu_toc = fxm::get_always<std::unordered_map<u32, u32>>().get();
|
s_ppu_toc = g_fxo->get<std::unordered_map<u32, u32>>();
|
||||||
|
|
||||||
for (const auto& func : info.funcs)
|
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)
|
// Permanently loaded compiled PPU modules (name -> data)
|
||||||
jit_module& jit_mod = fxm::get_always<std::unordered_map<std::string, jit_module>>()->emplace(cache_path + info.name, jit_module{}).first->second;
|
jit_module& jit_mod = g_fxo->get<std::unordered_map<std::string, jit_module>>()->emplace(cache_path + info.name, jit_module{}).first->second;
|
||||||
|
|
||||||
// Compiler instance (deferred initialization)
|
// Compiler instance (deferred initialization)
|
||||||
std::shared_ptr<jit_compiler> jit;
|
std::shared_ptr<jit_compiler> jit;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue