Files
ppsspp/Core/HLE
Ren 3abb56e7f5 Savestate: store only live audio queue data (AudioChannel section v3)
FixedSizeQueue::DoState serializes the entire fixed backing store. For
the sceAudio channel queues that is 512KB per channel (32768*8 s16
samples), or ~4.6MB of mostly dead bytes in every savestate across the
nine channels - the live sample count at any moment is normally a few
KB. This addresses the existing TODO in DoState.

Add DoStateCompact(), which stores only the live [head, head+count)
region and restores it linearized at the front of storage. A wrapped
live region is written as its two pieces in pop order; since the POD
DoArray path writes raw bytes with no per-element or per-call header,
the single linear read on load consumes them identically. The count is
validated on load and a bad value fails the load cleanly via
p.SetError.

AudioChannel bumps its section to v3 to use the compact form; old
states still load through the unchanged full-storage path. This shrinks
every savestate by several MB uncompressed and cuts the copy/compress
cost of each save, including the rewind feature's periodic states.
2026-07-27 16:20:49 +02:00
..
2025-07-22 17:48:20 +02:00
2026-01-19 17:56:30 +01:00
2025-07-22 17:48:20 +02:00
2025-07-22 17:48:20 +02:00
2025-07-22 17:48:20 +02:00
2025-12-30 20:31:07 +01:00
2025-04-03 14:13:50 +02:00
2025-08-06 17:44:54 +02:00
2026-01-18 23:40:13 +02:00
2025-07-20 19:30:35 +02:00
2025-07-20 19:30:35 +02:00
…
2025-12-30 20:31:06 +01:00
…
…
…
2026-07-16 15:03:20 +02:00
…
…
…
2025-04-14 22:27:51 +02:00
2025-03-05 17:02:46 +01:00
…
2025-07-20 19:32:05 +02:00
2025-07-20 19:32:05 +02:00
2025-02-14 09:50:55 -06:00
2026-07-18 11:57:56 +02:00
2026-06-13 17:12:16 +02:00
…
2025-01-05 19:14:15 +01:00
2025-04-03 14:13:50 +02:00
…
2025-05-27 17:48:23 +02:00
2025-02-04 11:53:22 -06:00
…