Pcsx2 Save States Site

We need an interface that components (CPU, GPU, RAM) can use to write their data. This is typically an "Archive" pattern that supports both saving (writing) and loading (reading).

// 2. Freeze all hardware components CPU_Freeze(archive); GPU_Freeze(archive); // GS video memory SPU_Freeze(archive); // Audio buffers // ... other components ... pcsx2 save states

// SaveState.cpp #include "SaveState.h" #include "Archive.h" #include "CPU.h" #include "GPU.h" // Include other hardware headers... #include <zlib.h> #include <cstdio> We need an interface that components (CPU, GPU,

Scroll to Top