mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 15:01:28 +12:00
Savestates: support game collections
This commit is contained in:
parent
219e3d61f8
commit
87cd65ff03
3 changed files with 32 additions and 37 deletions
|
@ -1702,14 +1702,9 @@ void spu_thread::serialize_common(utils::serial& ar)
|
|||
ar(gpr, pc, ch_mfc_cmd, mfc_size, mfc_barrier, mfc_fence, mfc_prxy_cmd, mfc_prxy_mask, mfc_prxy_write_state.all
|
||||
, srr0, ch_tag_upd, ch_tag_mask, ch_tag_stat.data, ch_stall_mask, ch_stall_stat.data, ch_atomic_stat.data
|
||||
, ch_out_mbox.data, ch_out_intr_mbox.data, snr_config, ch_snr1.data, ch_snr2.data, ch_events.raw().all, interrupts_enabled
|
||||
, run_ctrl, exit_status.data, status_npc.raw().status);
|
||||
, run_ctrl, exit_status.data, status_npc.raw().status, ch_dec_start_timestamp, ch_dec_value, is_dec_frozen);
|
||||
|
||||
if (GET_SERIALIZATION_VERSION(spu) != 1)
|
||||
{
|
||||
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); });
|
||||
ar(std::span(mfc_queue, mfc_size));
|
||||
}
|
||||
|
||||
spu_thread::spu_thread(utils::serial& ar, lv2_spu_group* group)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue