X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=common%2Fconfig.c;fp=common%2Fconfig.c;h=9950b13d088dd2555bb432260b591e4766bf0f43;hb=c64c8d0ec9d4f52fd65df1d3bce864b7a6152033;hp=3794cee389a8743ac83392e3fbbdb2219564696e;hpb=f35e50efad7436d3fe2b50a5aa9e78d47868de0e;p=libpicofe.git diff --git a/common/config.c b/common/config.c index 3794cee..9950b13 100644 --- a/common/config.c +++ b/common/config.c @@ -19,6 +19,7 @@ static char *mystrip(char *str); #ifndef _MSC_VER #include "menu.h" +#include "menu_pico.h" #include "emu.h" #include @@ -756,7 +757,6 @@ int config_readsect(const char *fname, const char *section) keys_encountered = 0; memset(input_dev_map, 0xff, sizeof(input_dev_map)); - in_config_start(); while (!feof(f)) { ret = config_get_var_val(f, line, sizeof(line), &var, &val); @@ -765,7 +765,6 @@ int config_readsect(const char *fname, const char *section) parse(var, val); } - in_config_end(); fclose(f); return 0;