Skip to content

Commit 737ba8f

Browse files
committed
Build fixes
1 parent 39af5ec commit 737ba8f

4 files changed

Lines changed: 6 additions & 2 deletions

File tree

Makefile.libnx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ HAVE_IBXM = 1
5959
HAVE_CORE_INFO_CACHE = 1
6060
HAVE_CLOUDSYNC = 1
6161
HAVE_SSL = 1
62+
HAVE_S3 = 1
6263

6364
# RetroArch libnx useful flags
6465
HAVE_THREADS = 1

configuration.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1617,8 +1617,8 @@ static struct config_array_setting *populate_settings_array(
16171617
SETTING_ARRAY("cheevos_leaderboards_enable", settings->arrays.cheevos_leaderboards_enable, true, "", true); /* deprecated */
16181618
#endif
16191619

1620-
#ifdef HAVE_NETWORKING
16211620
SETTING_ARRAY("netplay_mitm_server", settings->arrays.netplay_mitm_server, false, NULL, true);
1621+
#ifdef HAVE_NETWORKING
16221622
#ifdef HAVE_CLOUDSYNC
16231623
SETTING_ARRAY("webdav_url", settings->arrays.webdav_url, false, NULL, true);
16241624
SETTING_ARRAY("webdav_username", settings->arrays.webdav_username, false, NULL, true);

menu/menu_displaylist.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11356,9 +11356,11 @@ unsigned menu_displaylist_build_list(
1135611356
{MENU_ENUM_LABEL_CLOUD_SYNC_URL, PARSE_ONLY_STRING, false},
1135711357
{MENU_ENUM_LABEL_CLOUD_SYNC_USERNAME, PARSE_ONLY_STRING, false},
1135811358
{MENU_ENUM_LABEL_CLOUD_SYNC_PASSWORD, PARSE_ONLY_STRING, false},
11359+
#ifdef HAVE_S3
1135911360
{MENU_ENUM_LABEL_CLOUD_SYNC_S3_URL, PARSE_ONLY_STRING, false},
1136011361
{MENU_ENUM_LABEL_CLOUD_SYNC_ACCESS_KEY_ID, PARSE_ONLY_STRING, false},
1136111362
{MENU_ENUM_LABEL_CLOUD_SYNC_SECRET_ACCESS_KEY, PARSE_ONLY_STRING, false},
11363+
#endif
1136211364
};
1136311365

1136411366
for (i = 0; i < ARRAY_SIZE(build_list); i++)
@@ -11388,6 +11390,8 @@ unsigned menu_displaylist_build_list(
1138811390
if (string_is_equal(settings->arrays.cloud_sync_driver, "s3"))
1138911391
build_list[i].checked = true;
1139011392
break;
11393+
default:
11394+
break;
1139111395
}
1139211396

1139311397
for (i = 0; i < ARRAY_SIZE(build_list); i++)

menu/menu_setting.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12334,7 +12334,6 @@ static bool setting_append_list(
1233412334
(*list)[list_info->index - 1].ui_type = ST_UI_TYPE_PASSWORD_LINE_EDIT;
1233512335
(*list)[list_info->index - 1].action_start = setting_generic_action_start_default;
1233612336
#endif
12337-
1233812337
END_SUB_GROUP(list, list_info, parent_group);
1233912338
END_GROUP(list, list_info, parent_group);
1234012339
#endif

0 commit comments

Comments
 (0)