mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 13:14:04 +00:00
(RARCH_MOBILE) Set default overlay to retropad
(Frontend) Change preprocessor conditional to RARCH_MOBILE instead of __QNX__
This commit is contained in:
parent
68963a6eb0
commit
5ac449f564
@ -29,7 +29,7 @@
|
||||
|
||||
#include "../file_ext.h"
|
||||
|
||||
#if defined(RARCH_CONSOLE) || defined(__QNX__)
|
||||
#if defined(RARCH_CONSOLE) || defined(RARCH_MOBILE)
|
||||
#include "../config.def.h"
|
||||
#endif
|
||||
|
||||
|
@ -452,8 +452,8 @@ void config_set_defaults(void)
|
||||
if (default_overlay_dir)
|
||||
{
|
||||
fill_pathname_expand_special(g_extern.overlay_dir, default_overlay_dir, sizeof(g_extern.overlay_dir));
|
||||
#if defined(__QNX__) || defined(IOS)
|
||||
fill_pathname_join(g_settings.input.overlay, g_extern.overlay_dir, "gamepads/snes/snes.cfg", sizeof(g_settings.input.overlay));
|
||||
#if defined(RARCH_MOBILE)
|
||||
fill_pathname_join(g_settings.input.overlay, g_extern.overlay_dir, "gamepads/retropad/retropad.cfg", sizeof(g_settings.input.overlay));
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user