feat(state): save state on exiting
This commit is contained in:
+4
-1
@@ -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 */
|
||||
Reference in New Issue
Block a user