X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=common%2Femu.c;h=4341d6ad643ff47eecb7f6f2060e3db397624cd2;hb=0c2e114ed74047514a95163b191a15c34bdecafc;hp=becc0c267e98ec4953467d6bb5a03f747ca16a84;hpb=7bc9a680a24582b2cb3a82cbdaf383b2330c3b21;p=libpicofe.git diff --git a/common/emu.c b/common/emu.c index becc0c2..4341d6a 100644 --- a/common/emu.c +++ b/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 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)