mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 07:51:28 +12:00
Savestates: Save SPU decrementer state
This commit is contained in:
parent
b9f2b1e7c6
commit
2815aecd0c
2 changed files with 31 additions and 24 deletions
|
@ -1722,6 +1722,11 @@ void spu_thread::serialize_common(utils::serial& ar)
|
|||
, exit_status.data
|
||||
, status_npc.raw().status);
|
||||
|
||||
if (GET_SERIALIZATION_VERSION(spu) != 1u)
|
||||
{
|
||||
ar(ch_dec_start_timestamp, ch_dec_value, is_dec_frozen);
|
||||
}
|
||||
|
||||
std::for_each_n(mfc_queue, mfc_size, [&](spu_mfc_cmd& cmd) { ar(cmd); });
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue