Mercurial > repos > blastem
comparison config.h @ 1900:93960907807a
Added UI for selecting configured model
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 16 Feb 2020 10:33:20 -0800 |
parents | a4cae960fd08 |
children | 193b804c9845 |
comparison
equal
deleted
inserted
replaced
1899:789746b1a1b3 | 1900:93960907807a |
---|---|
4 BlastEm is free software distributed under the terms of the GNU General Public License version 3 or greater. See COPYING for full license text. | 4 BlastEm is free software distributed under the terms of the GNU General Public License version 3 or greater. See COPYING for full license text. |
5 */ | 5 */ |
6 #ifndef CONFIG_H_ | 6 #ifndef CONFIG_H_ |
7 #define CONFIG_H_ | 7 #define CONFIG_H_ |
8 #include "tern.h" | 8 #include "tern.h" |
9 #include "system.h" | |
9 | 10 |
10 tern_node *parse_config_file(char *config_path); | 11 tern_node *parse_config_file(char *config_path); |
11 tern_node *parse_bundled_config(char *config_name); | 12 tern_node *parse_bundled_config(char *config_name); |
12 tern_node *load_overrideable_config(char *name, char *bundled_name, uint8_t *used_config_dir); | 13 tern_node *load_overrideable_config(char *name, char *bundled_name, uint8_t *used_config_dir); |
13 tern_node *load_config(); | 14 tern_node *load_config(); |
15 uint8_t serialize_config_file(tern_node *config, char *path); | 16 uint8_t serialize_config_file(tern_node *config, char *path); |
16 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); |
17 void persist_config(tern_node *config); | 18 void persist_config(tern_node *config); |
18 char **get_extension_list(tern_node *config, uint32_t *num_exts_out); | 19 char **get_extension_list(tern_node *config, uint32_t *num_exts_out); |
19 uint32_t get_lowpass_cutoff(tern_node *config); | 20 uint32_t get_lowpass_cutoff(tern_node *config); |
21 tern_node *get_systems_config(void); | |
22 tern_node *get_model(tern_node *config, system_type stype); | |
20 | 23 |
21 #endif //CONFIG_H_ | 24 #endif //CONFIG_H_ |
22 | 25 |