Full savestating to memory
This commit is contained in:
@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user