mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 15:32:59 +00:00
Merge pull request #11377 from jdgleaver/default-overlay-fix
(Mobile) Fix default overlay assignment
This commit is contained in:
commit
fb175c877c
@ -2490,14 +2490,6 @@ void config_set_defaults(void *data)
|
|||||||
settings->paths.directory_overlay,
|
settings->paths.directory_overlay,
|
||||||
FILE_PATH_DEFAULT_OVERLAY,
|
FILE_PATH_DEFAULT_OVERLAY,
|
||||||
sizeof(settings->paths.path_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
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -109,7 +109,6 @@ RETRO_BEGIN_DECLS
|
|||||||
#define FILE_PATH_BACKUP_EXTENSION ".bak"
|
#define FILE_PATH_BACKUP_EXTENSION ".bak"
|
||||||
#if defined(RARCH_MOBILE)
|
#if defined(RARCH_MOBILE)
|
||||||
#define FILE_PATH_DEFAULT_OVERLAY "gamepads/neo-retropad/neo-retropad.cfg"
|
#define FILE_PATH_DEFAULT_OVERLAY "gamepads/neo-retropad/neo-retropad.cfg"
|
||||||
#define FILE_PATH_DEFAULT_OVERLAY_FALLBACK "gamepads/flat/retropad.cfg"
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
enum application_special_type
|
enum application_special_type
|
||||||
|
Loading…
x
Reference in New Issue
Block a user