notaz.gp2x.de
/
libpicofe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
input: make it more modular
[libpicofe.git]
/
common
/
config.c
diff --git
a/common/config.c
b/common/config.c
index
3794cee
..
9950b13
100644
(file)
--- a/
common/config.c
+++ b/
common/config.c
@@
-19,6
+19,7
@@
static char *mystrip(char *str);
#ifndef _MSC_VER
#include "menu.h"
#ifndef _MSC_VER
#include "menu.h"
+#include "menu_pico.h"
#include "emu.h"
#include <pico/pico.h>
#include "emu.h"
#include <pico/pico.h>
@@
-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));
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);
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);
}
parse(var, val);
}
- in_config_end();
fclose(f);
return 0;
fclose(f);
return 0;