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

@ -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;
}