update platform code to suit recent PCSX related changes

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@930 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2011-05-22 13:45:53 +00:00
parent e4bac17eb0
commit 21ebcfd322
13 changed files with 110 additions and 83 deletions

View file

@ -19,6 +19,7 @@ static char *mystrip(char *str);
#ifndef _MSC_VER
#include "menu.h"
#include "menu_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));
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;