(RARCH_MOBILE) Set default overlay to retropad

(Frontend) Change preprocessor conditional to RARCH_MOBILE instead of __QNX__
This commit is contained in:
twinaphex 2014-06-10 19:13:54 +02:00
parent 68963a6eb0
commit 5ac449f564
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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