notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bugfix + some tweaks
[picodrive.git]
/
platform
/
common
/
emu.c
diff --git
a/platform/common/emu.c
b/platform/common/emu.c
index
becc0c2
..
4341d6a
100644
(file)
--- a/
platform/common/emu.c
+++ b/
platform/common/emu.c
@@
-643,7
+643,8
@@
int emu_read_config(int game, int no_defaults)
// read global config, and apply game_def.cfg on top
\r
make_config_cfg(cfg);
\r
config_readsect(cfg, NULL);
\r
// read global config, and apply game_def.cfg on top
\r
make_config_cfg(cfg);
\r
config_readsect(cfg, NULL);
\r
- ret = config_readsect("game_def.cfg", sect);
\r
+ emu_make_path(cfg, "game_def.cfg", sizeof(cfg));
\r
+ ret = config_readsect(cfg, sect);
\r
}
\r
\r
if (ret == 0)
\r
}
\r
\r
if (ret == 0)
\r