Full savestating to memory

This commit is contained in:
2025-05-23 15:49:26 -06:00
parent e9d5b359d0
commit b86d550812
23 changed files with 378 additions and 56 deletions

View File

@ -35,6 +35,13 @@ typedef struct {
u8 int_flags;
} cpu_context;
typedef struct {
cpu_context ctx;
} cpu_state;
void cpu_save_state(cpu_state*);
void cpu_load_state(const cpu_state*);
void cpu_init();
bool cpu_step();