mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 15:36:26 +00:00
Savestates: Cleanup v128 usage
It's compatible with bitwise serialization so it is faster to load/save it this way.
This commit is contained in:
parent
f546e5a8ef
commit
155bd09fd0
2 changed files with 5 additions and 26 deletions
|
|
@ -1577,10 +1577,7 @@ bool ppu_thread::savable() const
|
|||
|
||||
void ppu_thread::serialize_common(utils::serial& ar)
|
||||
{
|
||||
ar(gpr, fpr, cr, fpscr.bits, lr, ctr, vrsave, cia, xer, sat, nj, prio, optional_savestate_state);
|
||||
|
||||
for (v128& reg : vr)
|
||||
ar(reg._bytes);
|
||||
ar(gpr, fpr, cr, fpscr.bits, lr, ctr, vrsave, cia, xer, sat, nj, prio, optional_savestate_state, vr);
|
||||
|
||||
if (optional_savestate_state->data.empty())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue