Mercurial > repos > blastem
comparison config.h @ 2018:193b804c9845
Add a UI button to reset config to defaults
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 09 Nov 2020 00:29:47 -0800 |
parents | 93960907807a |
children | bed4d3db8a3f |
comparison
equal
deleted
inserted
replaced
2017:8e7b06ade815 | 2018:193b804c9845 |
---|---|
14 tern_node *load_config(); | 14 tern_node *load_config(); |
15 char *serialize_config(tern_node *config, uint32_t *size_out); | 15 char *serialize_config(tern_node *config, uint32_t *size_out); |
16 uint8_t serialize_config_file(tern_node *config, char *path); | 16 uint8_t serialize_config_file(tern_node *config, char *path); |
17 void persist_config_at(tern_node *app_config, tern_node *to_save, char *fname); | 17 void persist_config_at(tern_node *app_config, tern_node *to_save, char *fname); |
18 void persist_config(tern_node *config); | 18 void persist_config(tern_node *config); |
19 void delete_custom_config_at(char *fname); | |
20 void delete_custom_config(void); | |
19 char **get_extension_list(tern_node *config, uint32_t *num_exts_out); | 21 char **get_extension_list(tern_node *config, uint32_t *num_exts_out); |
20 uint32_t get_lowpass_cutoff(tern_node *config); | 22 uint32_t get_lowpass_cutoff(tern_node *config); |
21 tern_node *get_systems_config(void); | 23 tern_node *get_systems_config(void); |
22 tern_node *get_model(tern_node *config, system_type stype); | 24 tern_node *get_model(tern_node *config, system_type stype); |
23 | 25 |