Don't set default overlay by default - only for RARCH_MOBILE

This commit is contained in:
twinaphex 2014-10-29 07:37:47 +01:00
parent 0fafabd851
commit 9ffa12c20a

View File

@ -560,11 +560,13 @@ static void config_set_defaults(void)
{
fill_pathname_expand_special(g_extern.overlay_dir,
g_defaults.overlay_dir, sizeof(g_extern.overlay_dir));
#ifdef RARCH_MOBILE
if (!*g_settings.input.overlay)
fill_pathname_join(g_settings.input.overlay,
g_extern.overlay_dir,
"gamepads/retropad/retropad.cfg",
sizeof(g_settings.input.overlay));
#endif
}
#endif
#ifdef HAVE_MENU