frontend: simplify config handling

this 'save diff from default config, all games in single config file'
thing wasn't a great idea, the implementation was complicated
and bug-ridden, so get rid of it.
This commit is contained in:
notaz 2013-06-29 23:02:48 +03:00
parent bec84f9200
commit 504e2f5688
4 changed files with 101 additions and 327 deletions

View file

@ -3,11 +3,10 @@
extern "C" {
#endif
int config_writesect(const char *fname, const char *section);
int config_write(const char *fname);
int config_writelrom(const char *fname);
int config_readsect(const char *fname, const char *section);
int config_readlrom(const char *fname);
int config_havesect(const char *fname, const char *section);
int config_get_var_val(void *file, char *line, int lsize, char **rvar, char **rval);
#ifdef __cplusplus