mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-08 09:09:46 +00:00
Make sure to update cia when calling in unknown hle table func access
This commit is contained in:
parent
3304e3b0b7
commit
1c462abc37
1 changed files with 4 additions and 2 deletions
|
@ -2524,12 +2524,14 @@ std::vector<ppu_function_t>& ppu_function_manager::access()
|
||||||
{
|
{
|
||||||
LOG_ERROR(PPU, "Unregistered function called (LR=0x%x)", ppu.lr);
|
LOG_ERROR(PPU, "Unregistered function called (LR=0x%x)", ppu.lr);
|
||||||
ppu.gpr[3] = 0;
|
ppu.gpr[3] = 0;
|
||||||
return true;
|
ppu.cia += 4;
|
||||||
|
return false;
|
||||||
},
|
},
|
||||||
[](ppu_thread& ppu) -> bool
|
[](ppu_thread& ppu) -> bool
|
||||||
{
|
{
|
||||||
ppu.state += cpu_flag::ret;
|
ppu.state += cpu_flag::ret;
|
||||||
return true;
|
ppu.cia += 4;
|
||||||
|
return false;
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue