feat(state): save state on exiting

This commit is contained in:
2025-11-02 13:37:34 +01:00
parent 1835050079
commit 09e04720f1
9 changed files with 113 additions and 7 deletions
+4 -1
View File
@@ -13,8 +13,11 @@ bool state_background_midi_write(SharedContext *context,
StateConfig state_config, MidiDevice midi);
void state_init(SharedContext *context, StateConfig state_config, bool demo,
unsigned int base_tempo);
unsigned int base_tempo, char *state_file, bool empty_state);
void state_randomize(SharedContext *context, StateConfig state_config);
void state_save(SharedContext *context, StateConfig state_config,
char *state_file);
#endif /* STATE_H */