bugfix + some tweaks

git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@737 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2009-08-07 14:11:03 +00:00
parent 51e7f3beb2
commit 0c2e114ed7
2 changed files with 12 additions and 1 deletions

View file

@ -643,7 +643,8 @@ int emu_read_config(int game, int no_defaults)
// read global config, and apply game_def.cfg on top
make_config_cfg(cfg);
config_readsect(cfg, NULL);
ret = config_readsect("game_def.cfg", sect);
emu_make_path(cfg, "game_def.cfg", sizeof(cfg));
ret = config_readsect(cfg, sect);
}
if (ret == 0)