mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
Minor ppu_initialize fix
This commit is contained in:
parent
a6e8b9037a
commit
9d3e626b55
1 changed files with 2 additions and 2 deletions
|
@ -3741,7 +3741,7 @@ bool ppu_initialize(const ppu_module& info, bool check_only)
|
|||
{
|
||||
if (g_cfg.core.ppu_decoder != ppu_decoder_type::llvm)
|
||||
{
|
||||
if (check_only)
|
||||
if (check_only || vm::base(info.segs[0].addr) != info.segs[0].ptr)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
@ -3761,7 +3761,7 @@ bool ppu_initialize(const ppu_module& info, bool check_only)
|
|||
|
||||
if (g_cfg.core.ppu_debug && func.size && func.toc != umax)
|
||||
{
|
||||
ppu_toc.emplace(func.addr, func.toc);
|
||||
ppu_toc[func.addr] = func.toc;
|
||||
ppu_ref(func.addr) = &ppu_check_toc;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue