RetroArch/config.def.h

1041 lines
34 KiB
C
Raw Normal View History

2012-04-21 21:13:50 +00:00
/* RetroArch - A frontend for libretro.
2014-01-01 00:50:59 +00:00
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
2016-01-10 03:06:50 +00:00
* Copyright (C) 2011-2016 - Daniel De Matteis
2019-01-09 22:19:19 +00:00
* Copyright (C) 2016-2019 - Brad Parker
2015-08-30 22:55:34 +00:00
*
2012-04-21 21:13:50 +00:00
* RetroArch is free software: you can redistribute it and/or modify it under the terms
2010-12-22 14:58:43 +00:00
* of the GNU General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
2012-04-21 21:13:50 +00:00
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
2010-12-22 14:58:43 +00:00
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
2012-04-21 21:31:57 +00:00
* You should have received a copy of the GNU General Public License along with RetroArch.
2010-12-22 14:58:43 +00:00
* If not, see <http://www.gnu.org/licenses/>.
*/
2011-01-05 19:09:12 +00:00
#ifndef __CONFIG_DEF_H
#define __CONFIG_DEF_H
2010-12-22 14:58:43 +00:00
#include <boolean.h>
#include <audio/audio_resampler.h>
#include "configuration.h"
2016-10-25 18:18:31 +00:00
#include "gfx/video_defines.h"
#include "input/input_driver.h"
2011-01-07 16:59:53 +00:00
#ifdef HAVE_CONFIG_H
#include "config.h"
2011-01-07 16:59:53 +00:00
#endif
2017-09-11 02:49:25 +00:00
#ifdef HAVE_NETWORKING
#include "network/netplay/netplay.h"
#endif
/* Required for 3DS display mode setting */
#if defined(_3DS)
#include "gfx/common/ctr_common.h"
#endif
#if defined(HW_RVL)
#define MAX_GAMMA_SETTING 30
#elif defined(GEKKO)
#define MAX_GAMMA_SETTING 2
#else
#define MAX_GAMMA_SETTING 1
#endif
#if defined(XENON) || defined(_XBOX360) || defined(__CELLOS_LV2__)
#define DEFAULT_ASPECT_RATIO 1.7778f
#elif defined(_XBOX1) || defined(GEKKO) || defined(ANDROID)
#define DEFAULT_ASPECT_RATIO 1.3333f
#else
#define DEFAULT_ASPECT_RATIO -1.0f
#endif
#if defined(ANDROID)
#define DEFAULT_MAX_PADS 8
#define ANDROID_KEYBOARD_PORT DEFAULT_MAX_PADS
#elif defined(_3DS)
#define DEFAULT_MAX_PADS 1
#elif defined(SWITCH) || defined(HAVE_LIBNX)
#define DEFAULT_MAX_PADS 8
#elif defined(WIIU)
#ifdef WIIU_HID
#define DEFAULT_MAX_PADS 16
#else
#define DEFAULT_MAX_PADS 5
#endif
#elif defined(DJGPP)
#define DEFAULT_MAX_PADS 1
#define DOS_KEYBOARD_PORT DEFAULT_MAX_PADS
#elif defined(XENON)
#define DEFAULT_MAX_PADS 4
#elif defined(VITA) || defined(SN_TARGET_PSP2)
#define DEFAULT_MAX_PADS 4
#elif defined(PSP)
#define DEFAULT_MAX_PADS 1
#elif defined(PS2)
#define DEFAULT_MAX_PADS 2
#elif defined(GEKKO) || defined(HW_RVL)
#define DEFAULT_MAX_PADS 4
#elif defined(__linux__) || (defined(BSD) && !defined(__MACH__))
#define DEFAULT_MAX_PADS 8
#elif defined(__QNX__)
#define DEFAULT_MAX_PADS 8
#elif defined(__CELLOS_LV2__)
#define DEFAULT_MAX_PADS 7
#elif defined(_XBOX)
#define DEFAULT_MAX_PADS 4
#elif defined(HAVE_XINPUT) && !defined(HAVE_DINPUT)
#define DEFAULT_MAX_PADS 4
#else
#define DEFAULT_MAX_PADS 16
#endif
2018-10-01 19:42:05 +00:00
#if defined(RARCH_MOBILE) || defined(HAVE_LIBNX)
#define DEFAULT_POINTER_ENABLE true
#else
#define DEFAULT_POINTER_ENABLE false
#endif
/* Certain platforms might have assets stored in the bundle that
* we need to extract to a user-writable directory on first boot.
*
* Examples include: Android, iOS/OSX) */
2016-01-10 01:23:48 +00:00
#if defined(ANDROID) || defined(IOS)
#define DEFAULT_BUNDLE_ASSETS_EXTRACT_ENABLE true
#else
#define DEFAULT_BUNDLE_ASSETS_EXTRACT_ENABLE false
#endif
#ifdef HAVE_MATERIALUI
#define DEFAULT_MATERIALUI_ICONS_ENABLE true
#endif
2019-06-14 09:13:02 +00:00
#define DEFAULT_CRT_SWITCH_RESOLUTION CRT_SWITCH_NONE
2018-03-26 14:03:46 +00:00
2019-06-14 09:13:02 +00:00
#define DEFAULT_CRT_SWITCH_RESOLUTION_SUPER 2560
2018-03-26 14:03:46 +00:00
2019-06-14 09:13:02 +00:00
#define DEFAULT_CRT_SWITCH_CENTER_ADJUST 0
#define DEFAULT_HISTORY_LIST_ENABLE true
#define DEFAULT_PLAYLIST_ENTRY_RENAME true
#define DEFAULT_USER_LANGUAGE 0
2014-10-17 02:17:28 +00:00
2018-01-14 02:51:30 +00:00
#if (defined(_WIN32) && !defined(_XBOX)) || (defined(__linux) && !defined(ANDROID) && !defined(HAVE_LAKKA)) || (defined(__MACH__) && !defined(IOS)) || defined(EMSCRIPTEN)
#define DEFAULT_MOUSE_ENABLE true
#else
#define DEFAULT_MOUSE_ENABLE false
#endif
2016-07-25 05:33:41 +00:00
#ifdef HAVE_CHEEVOS
#define DEFAULT_CHEEVOS_ENABLE false
2016-07-25 05:33:41 +00:00
#endif
2014-09-08 15:12:37 +00:00
/* VIDEO */
2010-12-22 14:58:43 +00:00
#if defined(_XBOX360)
#define DEFAULT_GAMMA 1
#else
#define DEFAULT_GAMMA 0
#endif
2014-09-08 15:12:37 +00:00
/* Windowed
* Real x resolution = aspect * base_size * x scale
* Real y resolution = base_size * y scale
*/
#define DEFAULT_SCALE (3.0)
2010-12-22 14:58:43 +00:00
2014-09-08 15:12:37 +00:00
/* Fullscreen */
/* To start in Fullscreen, or not. */
#define DEFAULT_FULLSCREEN false
2014-09-08 15:12:37 +00:00
/* To use windowed mode or not when going fullscreen. */
#define DEFAULT_WINDOWED_FULLSCREEN true
2014-09-08 15:12:37 +00:00
/* Which monitor to prefer. 0 is any monitor, 1 and up selects
* specific monitors, 1 being the first monitor. */
#define DEFAULT_MONITOR_INDEX 0
2014-09-08 15:12:37 +00:00
2016-11-24 00:43:50 +00:00
/* Window */
/* Window size. A value of 0 uses window scale
* multiplied by the core framebuffer size. */
#define DEFAULT_WINDOW_WIDTH 1280
#define DEFAULT_WINDOW_HEIGHT 720
2016-11-24 00:43:50 +00:00
2014-09-08 15:12:37 +00:00
/* Fullscreen resolution. A value of 0 uses the desktop
* resolution. */
#define DEFAULT_FULLSCREEN_X 0
#define DEFAULT_FULLSCREEN_Y 0
2010-12-22 14:58:43 +00:00
2018-11-25 20:41:26 +00:00
/* Number of threads to use for video recording */
#define DEFAULT_VIDEO_RECORD_THREADS 2
2018-11-25 20:41:26 +00:00
/* Amount of transparency to use for the main window.
* 1 is the most transparent while 100 is opaque.
*/
#define DEFAULT_WINDOW_OPACITY 100
/* Whether to show the usual window decorations like border, titlebar etc. */
#define DEFAULT_WINDOW_DECORATIONS true
#if defined(RARCH_CONSOLE) || defined(__APPLE__)
2019-06-02 19:02:59 +00:00
#define DEFAULT_LOAD_DUMMY_ON_CORE_SHUTDOWN false
#else
2019-06-02 19:02:59 +00:00
#define DEFAULT_LOAD_DUMMY_ON_CORE_SHUTDOWN true
#endif
2019-06-02 19:02:59 +00:00
#define DEFAULT_CHECK_FIRMWARE_BEFORE_LOADING false
2014-09-08 15:12:37 +00:00
/* Forcibly disable composition.
* Only valid on Windows Vista/7/8 for now. */
#define DEFAULT_DISABLE_COMPOSITION false
2014-09-08 15:12:37 +00:00
/* Video VSYNC (recommended) */
2019-06-22 01:30:46 +00:00
#define DEFAULT_VSYNC true
2010-12-22 14:58:43 +00:00
#define DEFAULT_MAX_SWAPCHAIN_IMAGES 3
#define DEFAULT_ADAPTIVE_VSYNC false
2014-09-08 15:12:37 +00:00
/* Attempts to hard-synchronize CPU and GPU.
* Can reduce latency at cost of performance. */
#define DEFAULT_HARD_SYNC false
2014-09-08 15:12:37 +00:00
/* Configures how many frames the GPU can run ahead of CPU.
* 0: Syncs to GPU immediately.
* 1: Syncs to previous frame.
* 2: Etc ...
*/
#define DEFAULT_HARD_SYNC_FRAMES 0
2013-05-03 12:04:29 +00:00
2014-09-08 15:12:37 +00:00
/* Sets how many milliseconds to delay after VSync before running the core.
* Can reduce latency at cost of higher risk of stuttering.
*/
#define DEFAULT_FRAME_DELAY 0
2014-09-08 15:12:37 +00:00
/* Inserts a black frame inbetween frames.
2015-08-30 22:55:34 +00:00
* Useful for 120 Hz monitors who want to play 60 Hz material with eliminated
* ghosting. video_refresh_rate should still be configured as if it
2014-09-08 15:12:37 +00:00
* is a 60 Hz monitor (divide refresh rate by 2).
*/
#define DEFAULT_BLACK_FRAME_INSERTION false
2014-09-08 15:12:37 +00:00
/* Uses a custom swap interval for VSync.
* Set this to effectively halve monitor refresh rate.
*/
#define DEFAULT_SWAP_INTERVAL 1
2015-08-30 22:55:34 +00:00
/* Threaded video. Will possibly increase performance significantly
2014-09-08 15:12:37 +00:00
* at the cost of worse synchronization and latency.
*/
#if defined(HAVE_LIBNX) || defined(ANDROID)
#define DEFAULT_VIDEO_THREADED true
#else
#define DEFAULT_VIDEO_THREADED false
#endif
#if defined(HAVE_THREADS)
2018-09-18 06:08:06 +00:00
#if defined(GEKKO) || defined(PSP) || defined(PS2)
/* For single-core consoles right now it's best to have this be disabled. */
#define DEFAULT_THREADED_DATA_RUNLOOP_ENABLE false
#else
#define DEFAULT_THREADED_DATA_RUNLOOP_ENABLE true
#endif
#else
#define DEFAULT_THREADED_DATA_RUNLOOP_ENABLE false
#endif
2014-09-08 15:12:37 +00:00
/* Set to true if HW render cores should get their private context. */
#define DEFAULT_VIDEO_SHARED_CONTEXT false
2014-09-08 15:12:37 +00:00
/* Sets GC/Wii screen width. */
2019-06-02 19:02:59 +00:00
#define DEFAULT_VIDEO_VI_WIDTH 640
2014-08-10 20:39:08 +00:00
2016-09-07 11:53:46 +00:00
#ifdef GEKKO
2014-10-04 05:13:08 +00:00
/* Removes 480i flicker, smooths picture a little. */
2019-06-02 19:02:59 +00:00
#define DEFAULT_VIDEO_VFILTER true
/* Allow overscan to be corrected on displays that
* do not have proper 'pixel perfect' scaling */
#define DEFAULT_VIDEO_OVERSCAN_CORRECTION_TOP 0
#define DEFAULT_VIDEO_OVERSCAN_CORRECTION_BOTTOM 0
2016-09-07 11:53:46 +00:00
#endif
2014-10-04 05:13:08 +00:00
2014-09-08 15:12:37 +00:00
/* Smooths picture. */
#define DEFAULT_VIDEO_SMOOTH true
2010-12-22 14:58:43 +00:00
2014-09-08 15:12:37 +00:00
/* On resize and fullscreen, rendering area will stay 4:3 */
#define DEFAULT_FORCE_ASPECT true
2010-12-22 14:58:43 +00:00
2014-09-08 15:12:37 +00:00
/* Enable use of shaders. */
#ifdef RARCH_CONSOLE
#define DEFAULT_SHADER_ENABLE true
#else
#define DEFAULT_SHADER_ENABLE false
#endif
2014-09-08 15:12:37 +00:00
/* Only scale in integer steps.
* The base size depends on system-reported geometry and aspect ratio.
* If video_force_aspect is not set, X/Y will be integer scaled independently.
*/
#define DEFAULT_SCALE_INTEGER false
2013-01-29 18:28:33 +00:00
2014-09-08 15:12:37 +00:00
/* Controls aspect ratio handling. */
/* 1:1 PAR */
#define DEFAULT_ASPECT_RATIO_AUTO false
2012-04-15 15:36:09 +00:00
2018-11-26 23:59:50 +00:00
#if defined(__CELLOS_LV2) || defined(_XBOX360)
#define DEFAULT_ASPECT_RATIO_IDX ASPECT_RATIO_16_9
#elif defined(PSP)
#define DEFAULT_ASPECT_RATIO_IDX ASPECT_RATIO_CORE
2018-12-07 14:18:43 +00:00
#elif defined(_3DS)
/* Previously defaulted to ASPECT_RATIO_4_3.
* Non-4:3 content looks dreadful when stretched
* to 4:3 on the 3DS screen... */
#define DEFAULT_ASPECT_RATIO_IDX ASPECT_RATIO_CORE
#elif defined(RARCH_CONSOLE)
#define DEFAULT_ASPECT_RATIO_IDX ASPECT_RATIO_4_3
#else
#define DEFAULT_ASPECT_RATIO_IDX ASPECT_RATIO_CORE
#endif
2014-09-08 15:12:37 +00:00
/* Save configuration file on exit. */
2019-06-02 19:02:59 +00:00
#define DEFAULT_CONFIG_SAVE_ON_EXIT true
2013-05-22 13:35:28 +00:00
2019-06-02 19:02:59 +00:00
#define DEFAULT_SHOW_HIDDEN_FILES false
2019-06-02 19:02:59 +00:00
#define DEFAULT_OVERLAY_HIDE_IN_MENU true
#define DEFAULT_OVERLAY_SHOW_MOUSE_CURSOR true
2015-07-09 02:05:59 +00:00
2019-06-02 19:02:59 +00:00
#define DEFAULT_DISPLAY_KEYBOARD_OVERLAY false
2018-07-27 17:26:15 +00:00
#ifdef HAKCHI
2019-06-02 19:02:59 +00:00
#define DEFAULT_INPUT_OVERLAY_OPACITY 0.5f
2018-07-27 17:26:15 +00:00
#else
2019-06-02 19:02:59 +00:00
#define DEFAULT_INPUT_OVERLAY_OPACITY 0.7f
2018-07-27 17:26:15 +00:00
#endif
#ifdef HAVE_MENU
#include "menu/menu_driver.h"
#include "menu/menu_animation.h"
2016-07-14 16:19:59 +00:00
#ifdef HAVE_LIBNX
2019-06-14 09:13:02 +00:00
#define DEFAULT_MENU_USE_PREFERRED_SYSTEM_COLOR_THEME true
#else
2019-06-14 09:13:02 +00:00
#define DEFAULT_MENU_USE_PREFERRED_SYSTEM_COLOR_THEME false
#endif
#ifdef HAVE_OZONE
2019-06-14 09:13:02 +00:00
#define DEFAULT_OZONE_COLLAPSE_SIDEBAR false
#endif
static bool quick_menu_show_take_screenshot = true;
static bool quick_menu_show_save_load_state = true;
static bool quick_menu_show_undo_save_load_state = true;
static bool quick_menu_show_add_to_favorites = true;
static bool quick_menu_show_start_recording = true;
static bool quick_menu_show_start_streaming = true;
static bool quick_menu_show_set_core_association = true;
static bool quick_menu_show_reset_core_association = true;
static bool quick_menu_show_options = true;
static bool quick_menu_show_controls = true;
static bool quick_menu_show_cheats = true;
static bool quick_menu_show_shaders = true;
static bool quick_menu_show_information = true;
static bool quick_menu_show_recording = true;
static bool quick_menu_show_streaming = true;
2018-05-13 21:20:51 +00:00
static bool quick_menu_show_save_core_overrides = true;
static bool quick_menu_show_save_game_overrides = true;
static bool quick_menu_show_save_content_dir_overrides = true;
static bool quick_menu_show_download_thumbnails = true;
static bool kiosk_mode_enable = false;
static bool menu_horizontal_animation = true;
static bool menu_show_online_updater = true;
static bool menu_show_load_core = true;
static bool menu_show_load_content = true;
2019-07-21 10:16:16 +00:00
#ifdef HAVE_CDROM
static bool menu_show_load_disc = true;
static bool menu_show_dump_disc = true;
#endif
static bool menu_show_information = true;
static bool menu_show_configurations = true;
static bool menu_show_help = true;
static bool menu_show_quit_retroarch = true;
static bool menu_show_restart_retroarch = true;
static bool menu_show_reboot = true;
static bool menu_show_shutdown = true;
#if defined(HAVE_LAKKA) || defined(VITA) || defined(_3DS)
static bool menu_show_core_updater = false;
#else
2017-06-20 00:22:07 +00:00
static bool menu_show_core_updater = true;
#endif
static bool menu_show_legacy_thumbnail_updater = false;
static bool menu_show_sublabels = true;
2017-06-20 00:22:07 +00:00
static unsigned menu_ticker_type = TICKER_TYPE_BOUNCE;
static float menu_ticker_speed = 1.0f;
#if defined(HAVE_THREADS)
2019-07-16 12:34:37 +00:00
static bool menu_savestate_resume = true;
#else
2019-07-16 12:34:37 +00:00
static bool menu_savestate_resume = false;
#endif
2019-07-16 12:34:37 +00:00
static bool content_show_settings = true;
static bool content_show_favorites = true;
#ifdef HAVE_IMAGEVIEWER
2019-07-16 12:34:37 +00:00
static bool content_show_images = true;
#endif
2019-07-16 12:34:37 +00:00
static bool content_show_music = true;
2018-06-20 02:50:58 +00:00
#if defined(HAVE_FFMPEG) || defined(HAVE_MPV)
2019-07-16 12:34:37 +00:00
static bool content_show_video = true;
#endif
#ifdef HAVE_NETWORKING
2019-07-16 12:34:37 +00:00
static bool content_show_netplay = true;
#endif
2019-07-16 12:34:37 +00:00
static bool content_show_history = true;
#ifdef HAVE_LIBRETRODB
2019-07-16 12:34:37 +00:00
static bool content_show_add = true;
#endif
2019-07-16 12:34:37 +00:00
static bool content_show_playlists = true;
2016-07-24 09:32:45 +00:00
#ifdef HAVE_XMB
2019-07-16 12:34:37 +00:00
static unsigned xmb_scale_factor = 100;
static unsigned xmb_alpha_factor = 75;
static unsigned menu_font_color_red = 255;
static unsigned menu_font_color_green = 255;
2019-07-16 12:34:37 +00:00
static unsigned menu_font_color_blue = 255;
static unsigned xmb_menu_layout = 0;
static unsigned xmb_icon_theme = XMB_ICON_THEME_MONOCHROME;
static unsigned xmb_theme = XMB_THEME_ELECTRIC_BLUE;
2019-06-14 09:13:02 +00:00
#if defined(HAVE_LAKKA) || defined(__arm__) || defined(__PPC64__) || defined(__ppc64__) || defined(__powerpc64__) || defined(__powerpc__) || defined(__ppc__) || defined(__POWERPC__)
2019-06-14 09:13:02 +00:00
#define DEFAULT_XMB_SHADOWS_ENABLE false
#else
2019-06-14 09:13:02 +00:00
#define DEFAULT_XMB_SHADOWS_ENABLE true
#endif
2016-07-24 09:32:45 +00:00
#endif
2016-05-01 02:46:16 +00:00
static float menu_framebuffer_opacity = 0.900;
2016-07-10 15:13:19 +00:00
static float menu_wallpaper_opacity = 0.300;
2016-07-11 15:27:36 +00:00
static float menu_footer_opacity = 1.000;
2016-07-11 15:41:06 +00:00
static float menu_header_opacity = 1.000;
2016-09-09 13:56:56 +00:00
#if defined(HAVE_OPENGLES2) || (defined(__MACH__) && (defined(__ppc__) || defined(__ppc64__)))
2019-06-14 09:13:02 +00:00
#define DEFAULT_MENU_SHADER_PIPELINE 1
#else
2019-06-14 09:13:02 +00:00
#define DEFAULT_MENU_SHADER_PIPELINE 2
#endif
2016-02-08 05:34:13 +00:00
2019-06-14 09:13:02 +00:00
#define DEFAULT_SHOW_ADVANCED_SETTINGS false
#define DEFAULT_RGUI_COLOR_THEME RGUI_THEME_CLASSIC_GREEN
2019-02-25 12:24:59 +00:00
static bool rgui_inline_thumbnails = false;
static bool rgui_swap_thumbnails = false;
2019-02-04 16:20:34 +00:00
static unsigned rgui_thumbnail_downscaler = RGUI_THUMB_SCALE_POINT;
static unsigned rgui_thumbnail_delay = 0;
2019-02-13 11:02:15 +00:00
static unsigned rgui_internal_upscale_level = RGUI_UPSCALE_NONE;
2019-02-25 12:24:59 +00:00
static bool rgui_full_width_layout = true;
2019-03-19 11:48:22 +00:00
static unsigned rgui_aspect = RGUI_ASPECT_RATIO_4_3;
static unsigned rgui_aspect_lock = RGUI_ASPECT_RATIO_LOCK_NONE;
2019-04-01 12:52:10 +00:00
static bool rgui_shadows = false;
static unsigned rgui_particle_effect = RGUI_PARTICLE_EFFECT_NONE;
static bool rgui_extended_ascii = false;
#endif
2019-02-13 11:02:15 +00:00
#ifdef HAVE_MENU
#define DEFAULT_BLOCK_CONFIG_READ true
#else
2019-06-03 04:37:09 +00:00
#define DEFAULT_BLOCK_CONFIG_READ false
#endif
2019-07-19 11:30:11 +00:00
#define DEFAULT_AUTOMATICALLY_ADD_CONTENT_TO_PLAYLIST false
2019-06-03 04:37:09 +00:00
static bool default_game_specific_options = true;
static bool default_auto_overrides_enable = true;
static bool default_auto_remaps_enable = true;
2016-07-30 16:16:03 +00:00
static bool default_auto_shaders_enable = true;
static bool default_sort_savefiles_enable = false;
static bool default_sort_savestates_enable = false;
2017-08-05 17:31:58 +00:00
static bool default_savestates_in_content_dir = false;
static bool default_savefiles_in_content_dir = false;
static bool default_systemfiles_in_content_dir = false;
static bool default_screenshots_in_content_dir = false;
#if defined(__CELLOS_LV2__) || defined(_XBOX1) || defined(_XBOX360)
static unsigned menu_toggle_gamepad_combo = INPUT_TOGGLE_L3_R3;
#elif defined(PS2) || defined(PSP)
static unsigned menu_toggle_gamepad_combo = INPUT_TOGGLE_HOLD_START;
#elif defined(VITA)
static unsigned menu_toggle_gamepad_combo = INPUT_TOGGLE_L1_R1_START_SELECT;
#elif defined(SWITCH) || defined(ORBIS)
static unsigned menu_toggle_gamepad_combo = INPUT_TOGGLE_START_SELECT;
#elif TARGET_OS_TV
static unsigned menu_toggle_gamepad_combo = INPUT_TOGGLE_DOWN_Y_L_R;
2015-07-09 04:27:17 +00:00
#else
static unsigned menu_toggle_gamepad_combo = INPUT_TOGGLE_NONE;
2015-07-09 04:27:17 +00:00
#endif
2016-10-14 19:57:18 +00:00
#if defined(VITA)
static unsigned input_backtouch_enable = false;
static unsigned input_backtouch_toggle = false;
2016-10-14 19:57:18 +00:00
#endif
2019-06-14 09:13:02 +00:00
#define DEFAULT_SHOW_PHYSICAL_INPUTS true
2017-08-16 20:30:15 +00:00
#define DEFAULT_ALL_USERS_CONTROL_MENU false
#if defined(ANDROID) || defined(_WIN32)
2019-07-19 11:30:11 +00:00
#define DEFAULT_MENU_SWAP_OK_CANCEL_BUTTONS true
#else
2019-07-19 11:30:11 +00:00
#define DEFAULT_MENU_SWAP_OK_CANCEL_BUTTONS false
#endif
2019-07-19 11:30:11 +00:00
#define DEFAULT_QUIT_PRESS_TWICE true
2019-02-25 18:12:50 +00:00
2019-07-19 11:30:11 +00:00
#define DEFAULT_LOG_TO_FILE false
#define DEFAULT_LOG_TO_FILE_TIMESTAMP false
2019-03-05 22:34:05 +00:00
2014-09-08 15:12:37 +00:00
/* Crop overscanned frames. */
#define DEFAULT_CROP_OVERSCAN true
2011-05-05 12:13:12 +00:00
2014-09-08 15:12:37 +00:00
/* Font size for on-screen messages. */
#if defined(HAVE_LIBDBGFONT)
#define DEFAULT_FONT_SIZE 1.0f
#else
#define DEFAULT_FONT_SIZE 32
#endif
2011-01-23 01:48:06 +00:00
2015-08-30 22:55:34 +00:00
/* Offset for where messages will be placed on-screen.
2014-09-08 15:12:37 +00:00
* Values are in range [0.0, 1.0]. */
2011-01-23 12:50:22 +00:00
static const float message_pos_offset_x = 0.05;
static const float message_pos_offset_y = 0.05;
2011-01-23 01:59:44 +00:00
2014-09-08 15:12:37 +00:00
/* Color of the message.
* RGB hex value. */
static const uint32_t message_color = 0xffff00;
static const bool message_bgcolor_enable = false;
static const uint32_t message_bgcolor_red = 0;
static const uint32_t message_bgcolor_green = 0;
static const uint32_t message_bgcolor_blue = 0;
static const float message_bgcolor_opacity = 1.0f;
2014-09-08 15:12:37 +00:00
/* Record post-filtered (CPU filter) video,
* rather than raw game output. */
2019-06-14 09:13:02 +00:00
#define DEFAULT_POST_FILTER_RECORD false
2011-08-11 03:25:31 +00:00
2014-09-08 15:12:37 +00:00
/* Screenshots post-shaded GPU output if available. */
2019-06-14 09:13:02 +00:00
#define DEFAULT_GPU_SCREENSHOT true
/* Watch shader files for changes and auto-apply as necessary. */
2019-06-14 09:13:02 +00:00
#define DEFAULT_VIDEO_SHADER_WATCH_FILES false
/* Screenshots named automatically. */
2019-06-14 09:13:02 +00:00
#define DEFAULT_AUTO_SCREENSHOT_FILENAME true
2014-09-08 15:12:37 +00:00
/* Record post-shaded GPU output instead of raw game footage if available. */
2019-06-14 09:13:02 +00:00
#define DEFAULT_GPU_RECORD false
2012-08-25 20:38:49 +00:00
2014-09-08 15:12:37 +00:00
/* OSD-messages. */
2019-06-14 09:13:02 +00:00
#define DEFAULT_FONT_ENABLE true
2011-11-09 23:15:41 +00:00
2014-09-08 15:12:37 +00:00
/* The accurate refresh rate of your monitor (Hz).
* This is used to calculate audio input rate with the formula:
2015-08-30 22:55:34 +00:00
* audio_input_rate = game_input_rate * display_refresh_rate /
2014-09-08 15:12:37 +00:00
* game_refresh_rate.
*
* If the implementation does not report any values,
* NTSC defaults will be assumed for compatibility.
* This value should stay close to 60Hz to avoid large pitch changes.
2015-08-30 22:55:34 +00:00
* If your monitor does not run at 60Hz, or something close to it,
2014-09-08 15:12:37 +00:00
* disable VSync, and leave this at its default. */
2015-09-28 19:09:07 +00:00
#ifdef _3DS
2019-07-19 11:14:29 +00:00
#define DEFAULT_REFRESH_RATE ((32730.0 * 8192.0) / 4481134.0)
2019-07-19 11:06:07 +00:00
#elif defined(RARCH_CONSOLE)
2019-07-19 11:14:29 +00:00
#define DEFAULT_REFRESH_RATE (60/1.001)
2019-07-19 11:06:07 +00:00
#else
2019-07-19 11:14:29 +00:00
#define DEFAULT_REFRESH_RATE (60)
2011-12-02 14:59:07 +00:00
#endif
2019-07-19 11:14:29 +00:00
#define DEFAULT_CRT_REFRESH_RATE (DEFAULT_REFRESH_RATE)
2015-08-30 22:55:34 +00:00
/* Allow games to set rotation. If false, rotation requests are
2014-09-08 15:12:37 +00:00
* honored, but ignored.
* Used for setups where one manually rotates the monitor. */
2019-06-14 09:13:02 +00:00
#define DEFAULT_ALLOW_ROTATE true
2012-04-01 14:12:04 +00:00
#if defined(_3DS)
/* Enable bottom LCD screen */
static const bool video_3ds_lcd_bottom = true;
/* Sets video display mode (3D, 2D, etc.) */
static const unsigned video_3ds_display_mode = CTR_VIDEO_MODE_3D;
#endif
2014-09-08 15:12:37 +00:00
/* AUDIO */
2010-12-22 14:58:43 +00:00
2014-09-08 15:12:37 +00:00
/* Will enable audio or not. */
#define DEFAULT_AUDIO_ENABLE true
2010-12-22 14:58:43 +00:00
2019-01-27 16:22:16 +00:00
/* Enable menu audio sounds. */
static const bool audio_enable_menu = false;
static const bool audio_enable_menu_ok = false;
2019-01-27 16:22:16 +00:00
static const bool audio_enable_menu_cancel = false;
static const bool audio_enable_menu_notice = false;
static const bool audio_enable_menu_bgm = false;
#ifdef HAVE_MENU_WIDGETS
2019-06-14 09:13:02 +00:00
#define DEFAULT_MENU_ENABLE_WIDGETS true
#else
2019-06-14 09:13:02 +00:00
#define DEFAULT_MENU_ENABLE_WIDGETS false
#endif
2019-01-27 16:22:16 +00:00
2014-09-08 15:12:37 +00:00
/* Output samplerate. */
2015-09-06 22:05:59 +00:00
#ifdef GEKKO
#define DEFAULT_OUTPUT_RATE 32000
2015-09-28 19:09:07 +00:00
#elif defined(_3DS)
#define DEFAULT_OUTPUT_RATE 32730
2015-09-06 22:05:59 +00:00
#else
#define DEFAULT_OUTPUT_RATE 48000
2015-09-06 22:05:59 +00:00
#endif
2010-12-22 14:58:43 +00:00
2014-09-08 15:12:37 +00:00
/* Audio device (e.g. hw:0,0 or /dev/audio). If NULL, will use defaults. */
2019-06-14 09:13:02 +00:00
#define DEFAULT_AUDIO_DEVICE NULL
2010-12-22 14:58:43 +00:00
2015-08-30 22:55:34 +00:00
/* Desired audio latency in milliseconds. Might not be honored
2014-09-08 15:12:37 +00:00
* if driver can't provide given latency. */
#if defined(ANDROID) || defined(EMSCRIPTEN)
/* For most Android devices, 64ms is way too low. */
#define DEFAULT_OUT_LATENCY 128
#else
#define DEFAULT_OUT_LATENCY 64
#endif
2010-12-22 14:58:43 +00:00
2014-09-08 15:12:37 +00:00
/* Will sync audio. (recommended) */
#define DEFAULT_AUDIO_SYNC true
2010-12-22 14:58:43 +00:00
2014-09-08 15:12:37 +00:00
/* Audio rate control. */
#if !defined(RARCH_CONSOLE)
#define DEFAULT_RATE_CONTROL true
#else
#define DEFAULT_RATE_CONTROL false
#endif
2012-02-14 00:16:37 +00:00
2015-08-30 22:55:34 +00:00
/* Rate control delta. Defines how much rate_control
2014-09-08 15:12:37 +00:00
* is allowed to adjust input rate. */
#define DEFAULT_RATE_CONTROL_DELTA 0.005
2012-02-14 00:16:37 +00:00
/* Maximum timing skew. Defines how much adjust_system_rates
* is allowed to adjust input rate. */
#define DEFAULT_MAX_TIMING_SKEW 0.05
2014-09-08 15:12:37 +00:00
/* Default audio volume in dB. (0.0 dB == unity gain). */
#define DEFAULT_AUDIO_VOLUME 0.0
2017-06-08 20:58:43 +00:00
/* Default audio volume of the audio mixer in dB. (0.0 dB == unity gain). */
#define DEFAULT_AUDIO_MIXER_VOLUME 0.0
2017-06-08 20:58:43 +00:00
2017-04-29 02:40:24 +00:00
#ifdef HAVE_WASAPI
/* WASAPI defaults */
2017-05-24 14:25:36 +00:00
static const bool wasapi_exclusive_mode = true;
static const bool wasapi_float_format = false;
static const int wasapi_sh_buffer_length = -16; /* auto */
2017-04-29 02:40:24 +00:00
#endif
2014-09-08 15:12:37 +00:00
/* MISC */
2012-02-14 00:16:37 +00:00
2014-09-08 15:12:37 +00:00
/* Enables displaying the current frames per second. */
#define DEFAULT_FPS_SHOW false
/* Enables displaying the current frame count. */
#define DEFAULT_FRAMECOUNT_SHOW false
/* Includes displaying the current memory usage/total with FPS/Frames. */
#define DEFAULT_MEMORY_SHOW false
2019-02-13 22:41:13 +00:00
/* Enables displaying various timing statistics. */
#define DEFAULT_STATISTICS_SHOW false
2019-02-13 22:41:13 +00:00
2015-08-30 22:55:34 +00:00
/* Enables use of rewind. This will incur some memory footprint
2014-09-08 15:12:37 +00:00
* depending on the save state buffer. */
#define DEFAULT_REWIND_ENABLE false
2011-01-31 17:06:57 +00:00
/* When set, any time a cheat is toggled it is immediately applied. */
#define DEFAULT_APPLY_CHEATS_AFTER_TOGGLE false
/* When set, all enabled cheats are auto-applied when a game is loaded. */
#define DEFAULT_APPLY_CHEATS_AFTER_LOAD false
2015-08-30 22:55:34 +00:00
/* The buffer size for the rewind buffer. This needs to be about
2014-09-08 15:12:37 +00:00
* 15-20MB per minute. Very game dependant. */
#define DEFAULT_REWIND_BUFFER_SIZE (20 << 20) /* 20MiB */
2011-01-31 17:06:57 +00:00
/* The amount of MB to increase/decrease the rewind_buffer_size when it is changed via the UI. */
#define DEFAULT_REWIND_BUFFER_SIZE_STEP 10 /* 10MB */
2014-09-08 15:12:37 +00:00
/* How many frames to rewind at a time. */
#define DEFAULT_REWIND_GRANULARITY 1
2014-09-08 15:12:37 +00:00
/* Pause gameplay when gameplay loses focus. */
#ifdef EMSCRIPTEN
#define DEFAULT_PAUSE_NONACTIVE false
#else
#define DEFAULT_PAUSE_NONACTIVE true
#endif
2010-12-22 14:58:43 +00:00
2014-09-08 15:12:37 +00:00
/* Saves non-volatile SRAM at a regular interval.
* It is measured in seconds. A value of 0 disables autosave. */
2018-12-05 06:55:22 +00:00
#if defined(__i386__) || defined(__i486__) || defined(__i686__) || defined(__x86_64__) || defined(_M_X64) || defined(_WIN32) || defined(OSX) || defined(ANDROID) || defined(IOS)
/* Flush to file every 10 seconds on modern platforms by default */
#define DEFAULT_AUTOSAVE_INTERVAL 10
#else
/* Default to disabled on I/O-constrained platforms */
#define DEFAULT_AUTOSAVE_INTERVAL 0
#endif
2011-02-10 20:16:59 +00:00
/* Publicly announce netplay */
#define DEFAULT_NETPLAY_PUBLIC_ANNOUNCE true
/* Start netplay in spectator mode */
static const bool netplay_start_as_spectator = false;
/* Allow connections in slave mode */
static const bool netplay_allow_slaves = true;
/* Require connections only in slave mode */
static const bool netplay_require_slaves = false;
/* Netplay without savestates/rewind */
static const bool netplay_stateless_mode = false;
2015-08-30 22:55:34 +00:00
/* When being client over netplay, use keybinds for
* user 1 rather than user 2. */
2011-06-22 19:56:04 +00:00
static const bool netplay_client_swap_input = true;
2011-02-20 11:12:53 +00:00
2016-12-14 03:03:10 +00:00
static const bool netplay_nat_traversal = false;
static const unsigned netplay_delay_frames = 16;
static const int netplay_check_frames = 600;
static const bool netplay_use_mitm_server = false;
static const char *netplay_mitm_server = "nyc";
#ifdef HAVE_NETWORKING
2017-09-11 02:49:25 +00:00
static const unsigned netplay_share_digital = RARCH_NETPLAY_SHARE_DIGITAL_NO_PREFERENCE;
static const unsigned netplay_share_analog = RARCH_NETPLAY_SHARE_ANALOG_NO_PREFERENCE;
#endif
2017-09-11 02:49:25 +00:00
2014-09-08 15:12:37 +00:00
/* On save state load, block SRAM from being overwritten.
* This could potentially lead to buggy games. */
2019-06-02 19:02:59 +00:00
#define DEFAULT_BLOCK_SRAM_OVERWRITE false
2015-08-30 22:55:34 +00:00
/* When saving savestates, state index is automatically
2014-09-08 15:12:37 +00:00
* incremented before saving.
2015-08-30 22:55:34 +00:00
* When the content is loaded, state index will be set
2014-09-08 15:12:37 +00:00
* to the highest existing value. */
2011-09-27 13:31:25 +00:00
static const bool savestate_auto_index = false;
2014-09-08 15:12:37 +00:00
/* Automatically saves a savestate at the end of RetroArch's lifetime.
* The path is $SRAM_PATH.auto.
2015-08-30 22:55:34 +00:00
* RetroArch will automatically load any savestate with this path on
2014-09-08 15:12:37 +00:00
* startup if savestate_auto_load is set. */
2012-06-02 19:33:37 +00:00
static const bool savestate_auto_save = false;
static const bool savestate_auto_load = false;
2012-06-02 19:33:37 +00:00
static const bool savestate_thumbnail_enable = false;
2014-09-08 15:12:37 +00:00
/* Slowmotion ratio. */
#define DEFAULT_SLOWMOTION_RATIO 3.0
2012-03-04 11:01:07 +00:00
/* Maximum fast forward ratio. */
#define DEFAULT_FASTFORWARD_RATIO 0.0
2018-08-04 22:34:10 +00:00
/* Enable runloop for variable refresh rate screens. Force x1 speed while handling fast forward too. */
#define DEFAULT_VRR_RUNLOOP_ENABLE false
2018-08-04 22:34:10 +00:00
2018-03-28 19:22:07 +00:00
/* Run core logic one or more frames ahead then load the state back to reduce perceived input lag. */
#define DEFAULT_RUN_AHEAD_FRAMES 1
2018-03-28 19:22:07 +00:00
/* When using the Run Ahead feature, use a secondary instance of the core. */
static const bool run_ahead_secondary_instance = true;
/* Hide warning messages when using the Run Ahead feature. */
static const bool run_ahead_hide_warnings = false;
2014-09-08 15:12:37 +00:00
/* Enable stdin/network command interface. */
static const bool network_cmd_enable = false;
static const uint16_t network_cmd_port = 55355;
2012-07-24 00:47:28 +00:00
static const bool stdin_cmd_enable = false;
static const uint16_t network_remote_base_port = 55400;
static const bool network_on_demand_thumbnails = false;
2014-09-08 15:12:37 +00:00
/* Number of entries that will be kept in content history playlist file. */
static const unsigned default_content_history_size = 100;
/* Sort all playlists (apart from histories) alphabetically */
static const bool playlist_sort_alphabetical = true;
2019-01-09 22:13:13 +00:00
/* File format to use when writing playlists to disk */
static const bool playlist_use_old_format = false;
2019-03-27 01:37:34 +00:00
#ifdef HAVE_MENU
/* Specify when to display 'core name' inline on playlist entries */
static const unsigned playlist_show_inline_core_name = PLAYLIST_INLINE_CORE_DISPLAY_HIST_FAV;
/* Specifies which runtime record to use on playlist sublabels */
static const unsigned playlist_sublabel_runtime_type = PLAYLIST_RUNTIME_PER_CORE;
static const unsigned playlist_entry_remove_enable = PLAYLIST_ENTRY_REMOVE_ENABLE_ALL;
2019-03-27 01:37:34 +00:00
#endif
static const bool scan_without_core_match = false;
2019-05-05 19:54:49 +00:00
static const bool playlist_show_sublabels = false;
static const bool playlist_fuzzy_archive_match = false;
2014-09-08 15:12:37 +00:00
/* Show Menu start-up screen on boot. */
static const bool default_menu_show_start_screen = true;
2019-07-19 11:20:13 +00:00
#define DEFAULT_MENU_DPI_OVERRIDE_ENABLE false
2015-04-24 14:37:09 +00:00
#ifdef RARCH_MOBILE
2019-07-19 11:20:13 +00:00
#define DEFAULT_MENU_DPI_OVERRIDE_VALUE 72
#elif defined(__CELLOS_LV2__)
2019-07-19 11:20:13 +00:00
#define DEFAULT_MENU_DPI_OVERRIDE_VALUE 360
#else
2019-07-19 11:20:13 +00:00
#define DEFAULT_MENU_DPI_OVERRIDE_VALUE 200
#endif
2015-04-24 14:37:09 +00:00
2014-09-08 15:12:37 +00:00
/* Log level for libretro cores (GET_LOG_INTERFACE). */
2019-07-19 11:20:13 +00:00
#define DEFAULT_LIBRETRO_LOG_LEVEL 1
#ifndef RARCH_DEFAULT_PORT
#define RARCH_DEFAULT_PORT 55435
#endif
2010-12-22 14:58:43 +00:00
#ifndef RARCH_STREAM_DEFAULT_PORT
#define RARCH_STREAM_DEFAULT_PORT 56400
#endif
2014-09-08 15:12:37 +00:00
/* KEYBINDS, JOYPAD */
2010-12-22 14:58:43 +00:00
2014-09-08 15:12:37 +00:00
/* Axis threshold (between 0.0 and 1.0)
* How far an axis must be tilted to result in a button press. */
2019-07-16 12:34:37 +00:00
static const float axis_threshold = 0.5f;
2019-07-16 12:34:37 +00:00
static const float analog_deadzone = 0.0f;
2019-07-16 12:34:37 +00:00
static const float analog_sensitivity = 1.0f;
2010-12-22 14:58:43 +00:00
2014-09-08 15:12:37 +00:00
/* Describes speed of which turbo-enabled buttons toggle. */
2019-07-16 12:34:37 +00:00
static const unsigned turbo_period = 6;
static const unsigned turbo_duty_cycle = 3;
2010-12-22 14:58:43 +00:00
2014-09-08 15:12:37 +00:00
/* Enable input auto-detection. Will attempt to autoconfigure
* gamepads, plug-and-play style. */
static const bool input_autodetect_enable = true;
2015-08-30 22:55:34 +00:00
/* Show the input descriptors set by the core instead
2014-12-04 12:26:27 +00:00
* of the default ones. */
static const bool input_descriptor_label_show = true;
2014-12-05 13:13:29 +00:00
static const bool input_descriptor_hide_unbound = false;
2015-07-08 22:10:44 +00:00
static const unsigned input_max_users = 5;
2016-01-28 05:51:18 +00:00
static const unsigned input_poll_type_behavior = 2;
2016-06-26 06:22:40 +00:00
static const unsigned input_bind_timeout = 5;
2019-06-20 09:45:51 +00:00
static const unsigned input_bind_hold = 2;
2018-04-04 08:33:59 +00:00
static const unsigned menu_thumbnails_default = 3;
2016-05-01 14:49:13 +00:00
static const unsigned menu_left_thumbnails_default = 0;
static const unsigned menu_thumbnail_upscale_threshold = 0;
static const unsigned menu_timedate_style = 5;
2018-04-04 22:52:46 +00:00
static const bool xmb_vertical_thumbnails = false;
2019-06-07 15:38:17 +00:00
static const unsigned xmb_thumbnail_scale_factor = 100;
#ifdef IOS
static const bool ui_companion_start_on_boot = false;
#else
static const bool ui_companion_start_on_boot = true;
#endif
2016-01-18 20:35:09 +00:00
static const bool ui_companion_enable = false;
2018-04-30 18:33:05 +00:00
/* Currently only used to show the WIMP UI on startup */
static const bool ui_companion_toggle = false;
/* Only init the WIMP UI for this session if this is enabled */
static const bool desktop_menu_enable = true;
/* Keep track of how long each core+content has been running for over time */
static const bool content_runtime_log = false;
/* Keep track of how long each content has been running for over time (ignores core) */
static const bool content_runtime_log_aggregate = false;
2019-07-19 18:00:31 +00:00
#define DEFAULT_UI_MENUBAR_ENABLE true
#if defined(__QNX__) || defined(_XBOX1) || defined(_XBOX360) || defined(__CELLOS_LV2__) || (defined(__MACH__) && defined(IOS)) || defined(ANDROID) || defined(WIIU) || defined(HAVE_NEON) || defined(GEKKO) || defined(__ARM_NEON__)
static enum resampler_quality audio_resampler_quality_level = RESAMPLER_QUALITY_LOWER;
2018-09-18 06:08:06 +00:00
#elif defined(PSP) || defined(_3DS) || defined(VITA) || defined(PS2)
static enum resampler_quality audio_resampler_quality_level = RESAMPLER_QUALITY_LOWEST;
#else
static enum resampler_quality audio_resampler_quality_level = RESAMPLER_QUALITY_NORMAL;
#endif
2018-06-04 05:48:08 +00:00
/* MIDI */
static const char *midi_input = "Off";
static const char *midi_output = "Off";
static const unsigned midi_volume = 100;
/* Only applies to Android 7.0 (API 24) and up */
2018-06-26 22:25:52 +00:00
static const bool sustained_performance_mode = false;
static const bool vibrate_on_keypress = false;
static const bool enable_device_vibration = false;
#ifdef HAVE_VULKAN
2019-06-14 09:13:02 +00:00
#define DEFAULT_VULKAN_GPU_INDEX 0
#endif
2019-06-18 20:33:37 +00:00
#ifdef HAVE_D3D10
#define DEFAULT_D3D10_GPU_INDEX 0
#endif
#ifdef HAVE_D3D11
#define DEFAULT_D3D11_GPU_INDEX 0
#endif
#ifdef HAVE_D3D12
#define DEFAULT_D3D12_GPU_INDEX 0
#endif
2018-07-27 17:26:15 +00:00
#if defined(HAKCHI)
static char buildbot_server_url[] = "http://hakchicloud.com/Libretro_Cores/";
#elif defined(ANDROID)
#if defined(ANDROID_ARM_V7)
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/android/latest/armeabi-v7a/";
#elif defined(ANDROID_ARM)
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/android/latest/armeabi/";
2017-06-05 01:38:53 +00:00
#elif defined(ANDROID_AARCH64)
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/android/latest/arm64-v8a/";
#elif defined(ANDROID_X86)
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/android/latest/x86/";
#elif defined(ANDROID_X64)
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/android/latest/x86_64/";
2015-01-21 05:51:45 +00:00
#else
static char buildbot_server_url[] = "";
#endif
#elif defined(__QNX__)
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/blackberry/latest/";
#elif defined(IOS)
2015-10-20 17:52:40 +00:00
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/apple/ios/latest/";
#elif defined(OSX)
#if defined(__x86_64__)
2015-10-19 23:24:46 +00:00
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/apple/osx/x86_64/latest/";
#elif defined(__i386__) || defined(__i486__) || defined(__i686__)
2015-10-19 23:24:46 +00:00
static char buildbot_server_url[] = "http://bot.libretro.com/nightly/apple/osx/x86/latest/";
2015-02-22 22:45:46 +00:00
#else
2015-10-20 17:52:40 +00:00
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/apple/osx/ppc/latest/";
#endif
#elif defined(_WIN32) && !defined(_XBOX)
2019-01-01 14:30:21 +00:00
#if _MSC_VER >= 1910
#ifndef __WINRT__
#if defined(__x86_64__) || defined(_M_X64)
2019-05-17 18:23:45 +00:00
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/windows-msvc2017-desktop/x64/latest/";
2019-01-01 14:30:21 +00:00
#elif defined(__i386__) || defined(__i486__) || defined(__i686__) || defined(_M_IX86) || defined(_M_IA64)
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/windows-msvc2017-desktop/x86/latest/";
2019-06-10 18:40:46 +00:00
#elif defined(__arm__) || defined(_M_ARM)
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/windows-msvc2017-desktop/arm/latest/";
2019-06-10 18:40:46 +00:00
#elif defined(__aarch64__) || defined(_M_ARM64)
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/windows-msvc2017-desktop/arm64/latest/";
2019-01-01 14:30:21 +00:00
#endif
#else
#if defined(__x86_64__) || defined(_M_X64)
2019-05-17 18:23:45 +00:00
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/windows-msvc2017-uwp/x64/latest/";
2019-01-01 14:30:21 +00:00
#elif defined(__i386__) || defined(__i486__) || defined(__i686__) || defined(_M_IX86) || defined(_M_IA64)
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/windows-msvc2017-uwp/x86/latest/";
2019-06-10 18:40:46 +00:00
#elif defined(__arm__) || defined(_M_ARM)
2019-01-01 14:30:21 +00:00
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/windows-msvc2017-uwp/arm/latest/";
2019-06-10 18:40:46 +00:00
#elif defined(__aarch64__) || defined(_M_ARM64)
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/windows-msvc2017-uwp/arm64/latest/";
2019-01-01 14:30:21 +00:00
#endif
#endif
#elif _MSC_VER == 1600
2018-01-20 19:05:32 +00:00
#if defined(__x86_64__) || defined(_M_X64)
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/windows-msvc2010/x86_64/latest/";
#elif defined(__i386__) || defined(__i486__) || defined(__i686__) || defined(_M_IX86) || defined(_M_IA64)
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/windows-msvc2010/x86/latest/";
#endif
#elif _MSC_VER == 1400
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/windows-msvc2005/x86/latest/";
#elif _MSC_VER == 1310
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/windows-msvc2003/x86/latest/";
#else
2018-01-20 19:05:32 +00:00
#if defined(__x86_64__) || defined(_M_X64)
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/windows/x86_64/latest/";
2006-05-18 11:17:58 +00:00
#elif defined(__i386__) || defined(__i486__) || defined(__i686__) || defined(_M_IX86) || defined(_M_IA64)
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/windows/x86/latest/";
#endif
#endif
#elif defined(__linux__)
#if defined(__x86_64__)
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/linux/x86_64/latest/";
2015-10-20 17:52:40 +00:00
#elif defined(__i386__) || defined(__i486__) || defined(__i686__)
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/linux/x86/latest/";
#elif defined(__arm__) && __ARM_ARCH == 7 && defined(__ARM_PCS_VFP)
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/linux/armhf/latest/";
#else
static char buildbot_server_url[] = "";
#endif
2017-05-23 09:24:23 +00:00
#elif defined(WIIU)
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/nintendo/wiiu/latest/";
2018-09-28 20:47:27 +00:00
#elif defined(HAVE_LIBNX)
2018-09-29 23:50:29 +00:00
static char buildbot_server_url[] = "http://buildbot.libretro.com/nightly/nintendo/switch/libnx/latest/";
#elif defined(__CELLOS_LV2__) && defined(DEX_BUILD)
static char buildbot_server_url[] = "http://libretro.xbins.org/libretro/nightly/playstation/ps3/latest/dex-ps3/";
#elif defined(__CELLOS_LV2__) && defined(CEX_BUILD)
static char buildbot_server_url[] = "http://libretro.xbins.org/libretro/nightly/playstation/ps3/latest/cex-ps3/";
#elif defined(__CELLOS_LV2__) && defined(ODE_BUILD)
static char buildbot_server_url[] = "http://libretro.xbins.org/libretro/nightly/playstation/ps3/latest/ode-ps3/";
#else
static char buildbot_server_url[] = "";
#endif
2015-02-01 16:13:15 +00:00
static char buildbot_assets_server_url[] = "http://buildbot.libretro.com/assets/";
2018-10-13 23:17:17 +00:00
static char default_discord_app_id[] = "475456035851599874";
2019-05-30 16:06:16 +00:00
static char default_ai_service_url[] = "http://localhost:4404/";
#endif