diff --git a/configuration.c b/configuration.c index 969f5e614e..29db74cc39 100644 --- a/configuration.c +++ b/configuration.c @@ -861,11 +861,11 @@ static void config_set_defaults(void) fill_pathname_expand_special(settings->directory.overlay, g_defaults.dir.overlay, sizeof(settings->directory.overlay)); #ifdef RARCH_MOBILE - if (!*settings->input.overlay) - fill_pathname_join(settings->input.overlay, + if (!*settings->path.overlay) + fill_pathname_join(settings->path.overlay, settings->directory.overlay, "gamepads/retropad/retropad.cfg", - sizeof(settings->input.overlay)); + sizeof(settings->path.overlay)); #endif } @@ -874,11 +874,11 @@ static void config_set_defaults(void) fill_pathname_expand_special(global->dir.osk_overlay, g_defaults.dir.osk_overlay, sizeof(global->dir.osk_overlay)); #ifdef RARCH_MOBILE - if (!*settings->osk.overlay) - fill_pathname_join(settings->osk.overlay, + if (!*settings->path.osk_overlay) + fill_pathname_join(settings->path.osk_overlay, global->dir.osk_overlay, "keyboards/modular-keyboard/opaque/big.cfg", - sizeof(settings->osk.overlay)); + sizeof(settings->path.osk_overlay)); #endif } else diff --git a/frontend/drivers/platform_darwin.m b/frontend/drivers/platform_darwin.m index 9407124117..a155bd961f 100644 --- a/frontend/drivers/platform_darwin.m +++ b/frontend/drivers/platform_darwin.m @@ -409,8 +409,8 @@ static void frontend_darwin_get_environment_settings(int *argc, char *argv[], RARCH_LOG("Assets ZIP found at [%s], setting up bundle assets extraction...\n", assets_zip_path); RARCH_LOG("Extraction dir will be: %s\n", home_dir_buf); - strlcpy(settings->bundle_assets_src_path, assets_zip_path, sizeof(settings->bundle_assets_src_path)); - strlcpy(settings->bundle_assets_dst_path, home_dir_buf, sizeof(settings->bundle_assets_dst_path)); + strlcpy(settings->path.bundle_assets_src, assets_zip_path, sizeof(settings->path.bundle_assets_src)); + strlcpy(settings->path.bundle_assets_dst, home_dir_buf, sizeof(settings->path.bundle_assets_dst)); settings->bundle_assets_extract_version_current = 130; /* TODO/FIXME: Just hardcode this for now */ } #endif