Make sure to update cia when calling in unknown hle table func access

This commit is contained in:
eladash 2019-03-22 15:04:41 +02:00 committed by Ivan
parent 3304e3b0b7
commit 1c462abc37

View file

@ -2524,12 +2524,14 @@ std::vector<ppu_function_t>& ppu_function_manager::access()
{
LOG_ERROR(PPU, "Unregistered function called (LR=0x%x)", ppu.lr);
ppu.gpr[3] = 0;
return true;
ppu.cia += 4;
return false;
},
[](ppu_thread& ppu) -> bool
{
ppu.state += cpu_flag::ret;
return true;
ppu.cia += 4;
return false;
},
};