Full savestating to memory
This commit is contained in:
@ -97,3 +97,11 @@ u8 timer_read(u16 address) {
|
||||
timer_context *timer_get_context() {
|
||||
return &ctx;
|
||||
}
|
||||
|
||||
void timer_save_state(timer_state* state) {
|
||||
state->ctx = ctx;
|
||||
}
|
||||
|
||||
void timer_load_state(const timer_state* state) {
|
||||
ctx = state->ctx;
|
||||
}
|
Reference in New Issue
Block a user