(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"
|
#include "../file_ext.h"
|
||||||
|
|
||||||
#if defined(RARCH_CONSOLE) || defined(__QNX__)
|
#if defined(RARCH_CONSOLE) || defined(RARCH_MOBILE)
|
||||||
#include "../config.def.h"
|
#include "../config.def.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -452,8 +452,8 @@ void config_set_defaults(void)
|
||||||
if (default_overlay_dir)
|
if (default_overlay_dir)
|
||||||
{
|
{
|
||||||
fill_pathname_expand_special(g_extern.overlay_dir, default_overlay_dir, sizeof(g_extern.overlay_dir));
|
fill_pathname_expand_special(g_extern.overlay_dir, default_overlay_dir, sizeof(g_extern.overlay_dir));
|
||||||
#if defined(__QNX__) || defined(IOS)
|
#if defined(RARCH_MOBILE)
|
||||||
fill_pathname_join(g_settings.input.overlay, g_extern.overlay_dir, "gamepads/snes/snes.cfg", sizeof(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
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue