From 2155438794dc0e484d2a32fded64a58f177e687f Mon Sep 17 00:00:00 2001 From: jdgleaver Date: Fri, 25 Sep 2020 11:15:33 +0100 Subject: [PATCH] (Mobile) Fix default overlay assignemnt --- configuration.c | 8 -------- file_path_special.h | 1 - 2 files changed, 9 deletions(-) diff --git a/configuration.c b/configuration.c index f0763603f7..c160a2ce8e 100644 --- a/configuration.c +++ b/configuration.c @@ -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 } diff --git a/file_path_special.h b/file_path_special.h index 12c787e281..f8fc6fd4cb 100644 --- a/file_path_special.h +++ b/file_path_special.h @@ -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