mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Set up some default buildbot URL paths per platform
This commit is contained in:
parent
c056428694
commit
3bdb736ac7
18
config.def.h
18
config.def.h
@ -642,6 +642,24 @@ static const bool input_descriptor_label_show = true;
|
||||
|
||||
static const bool input_descriptor_hide_unbound = false;
|
||||
|
||||
#if defined(ANDROID)
|
||||
#if defined(ANDROID_ARM)
|
||||
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/android/latest/armeabi-v7a/";
|
||||
#elif defined(ANDROID_X86)
|
||||
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/android/latest/x86/";
|
||||
#endif
|
||||
#elif defined(IOS)
|
||||
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/ios/latest/";
|
||||
#elif defined(_WIN32) && !defined(_XBOX)
|
||||
#if defined(__x86_64__)
|
||||
static char buildbot_server_url[] = "http://http://buildbot.libretro.com/nightly/win-x86_64/latest/";
|
||||
#elif defined(__i386__) || defined(__i486__) || defined(__i686__)
|
||||
static char buildbot_server_url[] = "http://http://buildbot.libretro.com/nightly/win-x86/latest/";
|
||||
#endif
|
||||
#else
|
||||
static char buildbot_server_url[] = "";
|
||||
#endif
|
||||
|
||||
#ifndef IS_SALAMANDER
|
||||
#include "intl/intl.h"
|
||||
|
||||
|
@ -567,7 +567,8 @@ static void config_set_defaults(void)
|
||||
g_settings.input.turbo_period = turbo_period;
|
||||
g_settings.input.turbo_duty_cycle = turbo_duty_cycle;
|
||||
|
||||
*g_settings.network.buildbot_url = '\0';
|
||||
strlcpy(g_settings.network.buildbot_url, buildbot_server_url,
|
||||
sizeof(g_settings.network.buildbot_url));
|
||||
|
||||
g_settings.input.overlay_enable = true;
|
||||
g_settings.input.overlay_opacity = 0.7f;
|
||||
|
@ -5449,7 +5449,7 @@ static bool setting_data_append_list_netplay_options(
|
||||
g_settings.network.buildbot_url,
|
||||
"core_management_buildbot_url",
|
||||
"Core Management Buildbot URL",
|
||||
"",
|
||||
buildbot_server_url,
|
||||
group_info.name,
|
||||
subgroup_info.name,
|
||||
general_write_handler,
|
||||
|
Loading…
x
Reference in New Issue
Block a user