(Mobile) Fix default overlay assignemnt

This commit is contained in:
jdgleaver 2020-09-25 11:15:33 +01:00
parent bc43db1789
commit 2155438794
2 changed files with 0 additions and 9 deletions

View File

@ -2490,14 +2490,6 @@ void config_set_defaults(void *data)
settings->paths.directory_overlay,
FILE_PATH_DEFAULT_OVERLAY,
sizeof(settings->paths.path_overlay));
/* Handle the case where old asset files
* are installed */
if (!path_is_valid(settings->paths.path_overlay))
fill_pathname_join(settings->paths.path_overlay,
settings->paths.directory_overlay,
FILE_PATH_DEFAULT_OVERLAY_FALLBACK,
sizeof(settings->paths.path_overlay));
}
#endif
}

View File

@ -109,7 +109,6 @@ RETRO_BEGIN_DECLS
#define FILE_PATH_BACKUP_EXTENSION ".bak"
#if defined(RARCH_MOBILE)
#define FILE_PATH_DEFAULT_OVERLAY "gamepads/neo-retropad/neo-retropad.cfg"
#define FILE_PATH_DEFAULT_OVERLAY_FALLBACK "gamepads/flat/retropad.cfg"
#endif
enum application_special_type