mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-02 15:02:11 +00:00
Fix ppu_thread::serialize_common
This commit is contained in:
parent
453a3c4852
commit
29ad568791
@ -2367,7 +2367,7 @@ void ppu_thread::serialize_common(utils::serial& ar)
|
||||
|
||||
ar(gpr, fpr, cr, fpscr.bits, lr, ctr, vrsave, cia, xer, sat, nj, prio.raw().all);
|
||||
|
||||
if (cia % 4 || !vm::check_addr(cia))
|
||||
if (cia % 4 || (cia >> 28) >= 0xCu)
|
||||
{
|
||||
fmt::throw_exception("Failed to serialize PPU thread ID=0x%x (cia=0x%x, ar=%s)", this->id, cia, ar);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user