2018-01-31 18:07:57 +00:00
|
|
|
/* RetroArch - A frontend for libretro.
|
2014-01-01 00:50:59 +00:00
|
|
|
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
|
2017-01-22 12:40:32 +00:00
|
|
|
* Copyright (C) 2011-2017 - Daniel De Matteis
|
2012-04-13 23:02:37 +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
|
2012-04-13 23:02:37 +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;
|
2012-04-13 23:02:37 +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.
|
2012-04-13 23:02:37 +00:00
|
|
|
* If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2018-02-04 23:25:03 +00:00
|
|
|
#define CINTERFACE
|
2017-08-04 13:05:29 +00:00
|
|
|
#define HAVE_IBXM 1
|
|
|
|
|
2014-09-12 19:25:08 +00:00
|
|
|
#if defined(HAVE_ZLIB) || defined(HAVE_7ZIP)
|
2018-01-21 10:52:56 +00:00
|
|
|
#define HAVE_COMPRESSION 1
|
2014-09-12 19:25:08 +00:00
|
|
|
#endif
|
|
|
|
|
2016-03-20 03:52:15 +00:00
|
|
|
#if _MSC_VER
|
|
|
|
#include "../libretro-common/compat/compat_snprintf.c"
|
|
|
|
#endif
|
|
|
|
|
2015-11-23 11:03:38 +00:00
|
|
|
#include "../verbosity.c"
|
2016-03-20 03:52:15 +00:00
|
|
|
|
2015-08-29 14:24:38 +00:00
|
|
|
#if defined(HAVE_LOGGER) && !defined(ANDROID)
|
2016-05-19 09:46:54 +00:00
|
|
|
#include "../network/net_logger.c"
|
2015-08-29 14:24:38 +00:00
|
|
|
#endif
|
|
|
|
|
2017-09-14 20:56:31 +00:00
|
|
|
/*============================================================
|
|
|
|
COMPATIBILITY
|
|
|
|
============================================================ */
|
|
|
|
#ifndef HAVE_GETOPT_LONG
|
|
|
|
#include "../compat/compat_getopt.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef HAVE_STRCASESTR
|
|
|
|
#include "../compat/compat_strcasestr.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef HAVE_STRL
|
|
|
|
#include "../compat/compat_strl.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(_WIN32)
|
|
|
|
#include "../compat/compat_posix_string.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(WANT_IFADDRS)
|
|
|
|
#include "../compat/compat_ifaddrs.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "../libretro-common/compat/compat_fnmatch.c"
|
2017-12-04 19:19:35 +00:00
|
|
|
#include "../libretro-common/compat/fopen_utf8.c"
|
2018-03-28 19:22:07 +00:00
|
|
|
#if defined(HAVE_DYNAMIC) && HAVE_DYNAMIC
|
|
|
|
#include "../libretro-common/compat/unlink_utf8.c"
|
|
|
|
#endif
|
2017-09-14 20:56:31 +00:00
|
|
|
#include "../libretro-common/memmap/memalign.c"
|
|
|
|
|
2012-11-25 04:41:12 +00:00
|
|
|
/*============================================================
|
2013-03-18 04:46:19 +00:00
|
|
|
CONSOLE EXTENSIONS
|
2012-11-25 04:41:12 +00:00
|
|
|
============================================================ */
|
2013-03-18 04:46:19 +00:00
|
|
|
#ifdef RARCH_CONSOLE
|
2012-11-25 04:41:12 +00:00
|
|
|
|
2012-09-03 22:05:23 +00:00
|
|
|
#ifdef HW_DOL
|
2015-09-20 12:54:41 +00:00
|
|
|
#include "../memory/ngc/ssaram.c"
|
2012-09-03 22:05:23 +00:00
|
|
|
#endif
|
|
|
|
|
2017-08-19 06:46:04 +00:00
|
|
|
#ifdef INTERNAL_LIBOGC
|
|
|
|
#ifdef HW_RVL
|
|
|
|
#include "../wii/libogc/libfat/cache.c"
|
|
|
|
#include "../wii/libogc/libfat/directory.c"
|
|
|
|
#include "../wii/libogc/libfat/disc.c"
|
|
|
|
#include "../wii/libogc/libfat/fatdir.c"
|
|
|
|
#include "../wii/libogc/libfat/fatfile.c"
|
|
|
|
#include "../wii/libogc/libfat/file_allocation_table.c"
|
|
|
|
#include "../wii/libogc/libfat/filetime.c"
|
|
|
|
#include "../wii/libogc/libfat/libfat.c"
|
|
|
|
#include "../wii/libogc/libfat/lock.c"
|
|
|
|
#include "../wii/libogc/libfat/partition.c"
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2013-01-11 21:27:31 +00:00
|
|
|
#endif
|
2012-04-13 23:02:37 +00:00
|
|
|
|
2016-05-16 08:27:20 +00:00
|
|
|
/*============================================================
|
|
|
|
ALGORITHMS
|
|
|
|
============================================================ */
|
|
|
|
|
2016-03-20 15:14:40 +00:00
|
|
|
/*============================================================
|
|
|
|
ARCHIVE FILE
|
|
|
|
============================================================ */
|
2016-09-18 14:49:09 +00:00
|
|
|
#include "../libretro-common/file/archive_file.c"
|
2016-03-20 15:14:40 +00:00
|
|
|
|
2013-01-11 21:46:14 +00:00
|
|
|
#ifdef HAVE_ZLIB
|
2016-03-20 15:14:40 +00:00
|
|
|
#include "../libretro-common/file/archive_file_zlib.c"
|
2012-11-03 07:42:33 +00:00
|
|
|
#endif
|
|
|
|
|
2016-09-18 14:49:09 +00:00
|
|
|
#ifdef HAVE_7ZIP
|
|
|
|
#include "../libretro-common/file/archive_file_7z.c"
|
|
|
|
#endif
|
|
|
|
|
2016-11-26 21:11:42 +00:00
|
|
|
/*============================================================
|
|
|
|
COMPRESSION
|
|
|
|
============================================================ */
|
2017-05-20 12:58:51 +00:00
|
|
|
#include "../libretro-common/streams/stdin_stream.c"
|
2016-11-26 21:11:42 +00:00
|
|
|
#include "../libretro-common/streams/trans_stream.c"
|
|
|
|
#include "../libretro-common/streams/trans_stream_pipe.c"
|
|
|
|
|
|
|
|
#ifdef HAVE_ZLIB
|
|
|
|
#include "../libretro-common/streams/trans_stream_zlib.c"
|
|
|
|
#endif
|
|
|
|
|
2015-11-16 06:26:02 +00:00
|
|
|
/*============================================================
|
|
|
|
ENCODINGS
|
|
|
|
============================================================ */
|
|
|
|
#include "../libretro-common/encodings/encoding_utf.c"
|
2016-09-18 16:50:33 +00:00
|
|
|
#include "../libretro-common/encodings/encoding_crc32.c"
|
2015-11-16 06:26:02 +00:00
|
|
|
|
2012-11-03 07:42:33 +00:00
|
|
|
/*============================================================
|
|
|
|
PERFORMANCE
|
|
|
|
============================================================ */
|
2016-05-10 18:31:27 +00:00
|
|
|
#include "../libretro-common/features/features_cpu.c"
|
2016-05-10 06:53:14 +00:00
|
|
|
#include "../performance_counters.c"
|
2012-11-03 07:42:33 +00:00
|
|
|
|
2012-04-13 23:02:37 +00:00
|
|
|
/*============================================================
|
|
|
|
CONFIG FILE
|
|
|
|
============================================================ */
|
2014-09-14 04:29:40 +00:00
|
|
|
#if defined(_MSC_VER)
|
2014-10-21 04:55:26 +00:00
|
|
|
#undef __LIBRETRO_SDK_COMPAT_POSIX_STRING_H
|
|
|
|
#undef __LIBRETRO_SDK_COMPAT_MSVC_H
|
2012-04-13 23:02:37 +00:00
|
|
|
#undef strcasecmp
|
|
|
|
#endif
|
2012-05-28 03:21:19 +00:00
|
|
|
|
2015-02-18 23:04:03 +00:00
|
|
|
#include "../libretro-common/file/config_file.c"
|
2016-12-12 11:36:46 +00:00
|
|
|
#include "../libretro-common/file/config_file_userdata.c"
|
2017-02-24 05:29:13 +00:00
|
|
|
#include "../managers/core_manager.c"
|
2016-05-09 23:25:47 +00:00
|
|
|
#include "../managers/core_option_manager.c"
|
2013-06-24 11:52:14 +00:00
|
|
|
|
2015-10-09 18:29:50 +00:00
|
|
|
/*============================================================
|
|
|
|
ACHIEVEMENTS
|
|
|
|
============================================================ */
|
2017-10-03 20:05:23 +00:00
|
|
|
#if defined(HAVE_CHEEVOS)
|
2016-09-29 19:07:10 +00:00
|
|
|
#if !defined(HAVE_NETWORKING)
|
2015-10-14 03:12:01 +00:00
|
|
|
#include "../libretro-common/net/net_http.c"
|
|
|
|
#endif
|
|
|
|
|
2015-10-09 18:29:50 +00:00
|
|
|
#include "../libretro-common/formats/json/jsonsax.c"
|
2016-05-09 15:47:45 +00:00
|
|
|
#include "../network/net_http_special.c"
|
2017-05-07 18:52:22 +00:00
|
|
|
#include "../cheevos/cheevos.c"
|
2017-11-24 00:37:47 +00:00
|
|
|
#include "../cheevos/badges.c"
|
2017-10-22 16:20:50 +00:00
|
|
|
#include "../cheevos/var.c"
|
2017-10-22 18:42:15 +00:00
|
|
|
#include "../cheevos/cond.c"
|
2015-10-17 08:56:23 +00:00
|
|
|
#endif
|
2015-10-09 18:29:50 +00:00
|
|
|
|
2016-08-30 22:27:47 +00:00
|
|
|
/*============================================================
|
|
|
|
MD5
|
|
|
|
============================================================ */
|
2017-12-29 05:49:21 +00:00
|
|
|
#if defined(HAVE_CHEEVOS) || (defined(HAVE_HTTPSERVER) && defined(HAVE_ZLIB))
|
2016-08-30 22:27:47 +00:00
|
|
|
#include "../libretro-common/utils/md5.c"
|
|
|
|
#endif
|
|
|
|
|
2015-10-27 17:50:41 +00:00
|
|
|
/*============================================================
|
|
|
|
CHEATS
|
|
|
|
============================================================ */
|
2016-05-09 16:20:52 +00:00
|
|
|
#include "../managers/cheat_manager.c"
|
2015-10-27 17:50:41 +00:00
|
|
|
#include "../libretro-common/hash/rhash.c"
|
|
|
|
|
2017-08-09 11:39:14 +00:00
|
|
|
/*============================================================
|
|
|
|
UI COMMON CONTEXT
|
|
|
|
============================================================ */
|
|
|
|
#if defined(_WIN32) && !defined(_XBOX)
|
|
|
|
#include "../gfx/common/win32_common.c"
|
|
|
|
#endif
|
|
|
|
|
2012-04-13 23:02:37 +00:00
|
|
|
/*============================================================
|
2012-05-28 03:19:04 +00:00
|
|
|
VIDEO CONTEXT
|
2012-04-13 23:02:37 +00:00
|
|
|
============================================================ */
|
2015-01-12 21:19:31 +00:00
|
|
|
#include "../gfx/drivers_context/gfx_null_ctx.c"
|
2012-05-27 23:15:00 +00:00
|
|
|
|
2017-08-09 11:51:33 +00:00
|
|
|
#if defined(_WIN32) && !defined(_XBOX)
|
2017-08-09 11:56:47 +00:00
|
|
|
|
2017-08-09 11:51:33 +00:00
|
|
|
#if defined(HAVE_OPENGL) || defined(HAVE_VULKAN)
|
|
|
|
#include "../gfx/drivers_context/wgl_ctx.c"
|
|
|
|
#endif
|
2017-08-09 11:56:47 +00:00
|
|
|
|
|
|
|
#include "../gfx/drivers_context/gdi_ctx.c"
|
2017-12-11 23:12:32 +00:00
|
|
|
#include "../gfx/display_servers/dispserv_win32.c"
|
2017-08-09 11:56:47 +00:00
|
|
|
|
|
|
|
#if defined(HAVE_FFMPEG)
|
|
|
|
#if defined(HAVE_OPENGL) || defined(HAVE_OPENGLES3)
|
|
|
|
#include "../cores/libretro-ffmpeg/ffmpeg_fft.c"
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2017-08-09 11:51:33 +00:00
|
|
|
#endif
|
|
|
|
|
2013-01-09 04:54:48 +00:00
|
|
|
#if defined(__CELLOS_LV2__)
|
2015-01-12 21:19:31 +00:00
|
|
|
#include "../gfx/drivers_context/ps3_ctx.c"
|
2012-11-03 07:42:33 +00:00
|
|
|
#elif defined(ANDROID)
|
2016-03-01 03:18:43 +00:00
|
|
|
#include "../gfx/drivers_context/android_ctx.c"
|
2014-05-20 00:48:11 +00:00
|
|
|
#elif defined(__QNX__)
|
2017-01-07 21:37:05 +00:00
|
|
|
#include "../gfx/drivers_context/qnx_ctx.c"
|
2013-11-17 22:21:40 +00:00
|
|
|
#elif defined(EMSCRIPTEN)
|
2015-01-12 21:19:31 +00:00
|
|
|
#include "../gfx/drivers_context/emscriptenegl_ctx.c"
|
2015-04-26 01:59:55 +00:00
|
|
|
#elif defined(__APPLE__) && !defined(TARGET_IPHONE_SIMULATOR) && !defined(TARGET_OS_IPHONE)
|
2015-04-26 01:48:35 +00:00
|
|
|
#include "../gfx/drivers_context/cgl_ctx.c"
|
2012-05-27 20:58:14 +00:00
|
|
|
#endif
|
|
|
|
|
2016-09-03 05:10:55 +00:00
|
|
|
|
2016-03-01 21:25:53 +00:00
|
|
|
#if defined(HAVE_VIVANTE_FBDEV)
|
|
|
|
#include "../gfx/drivers_context/vivante_fbdev_ctx.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(HAVE_OPENDINGUX_FBDEV)
|
|
|
|
#include "../gfx/drivers_context/opendingux_fbdev_ctx.c"
|
|
|
|
#endif
|
|
|
|
|
2016-02-17 04:22:17 +00:00
|
|
|
#ifdef HAVE_WAYLAND
|
|
|
|
#include "../gfx/drivers_context/wayland_ctx.c"
|
|
|
|
#endif
|
|
|
|
|
2015-11-26 16:12:06 +00:00
|
|
|
#ifdef HAVE_DRM
|
|
|
|
#include "../gfx/common/drm_common.c"
|
|
|
|
#endif
|
2013-07-28 17:55:18 +00:00
|
|
|
|
2016-02-17 04:22:17 +00:00
|
|
|
#ifdef HAVE_VULKAN
|
|
|
|
#include "../gfx/common/vulkan_common.c"
|
2016-06-26 11:10:19 +00:00
|
|
|
#include "../libretro-common/vulkan/vulkan_symbol_wrapper.c"
|
2016-08-27 23:48:13 +00:00
|
|
|
#ifdef HAVE_VULKAN_DISPLAY
|
2016-07-07 20:03:30 +00:00
|
|
|
#include "../gfx/drivers_context/khr_display_ctx.c"
|
|
|
|
#endif
|
2016-02-17 04:22:17 +00:00
|
|
|
#endif
|
|
|
|
|
2013-07-07 19:25:22 +00:00
|
|
|
#if defined(HAVE_KMS)
|
2016-02-22 12:01:16 +00:00
|
|
|
#include "../gfx/drivers_context/drm_ctx.c"
|
2013-07-07 19:25:22 +00:00
|
|
|
#endif
|
2016-02-22 12:01:16 +00:00
|
|
|
|
|
|
|
#if defined(HAVE_EGL)
|
|
|
|
#include "../gfx/common/egl_common.c"
|
|
|
|
|
2013-07-07 19:17:58 +00:00
|
|
|
#if defined(HAVE_VIDEOCORE)
|
2015-01-12 21:19:31 +00:00
|
|
|
#include "../gfx/drivers_context/vc_egl_ctx.c"
|
2012-05-27 20:58:14 +00:00
|
|
|
#endif
|
2014-09-14 04:15:24 +00:00
|
|
|
|
2013-07-07 19:17:58 +00:00
|
|
|
#endif
|
|
|
|
|
2015-04-16 20:39:28 +00:00
|
|
|
#if defined(HAVE_X11)
|
2015-04-09 03:02:57 +00:00
|
|
|
#include "../gfx/common/x11_common.c"
|
2017-03-23 18:59:11 +00:00
|
|
|
#include "../gfx/common/xinerama_common.c"
|
2015-04-16 20:39:28 +00:00
|
|
|
|
2017-12-16 13:16:27 +00:00
|
|
|
#ifdef HAVE_DBUS
|
|
|
|
#include "../gfx/common/dbus_common.c"
|
|
|
|
#endif
|
|
|
|
|
2015-04-16 20:39:28 +00:00
|
|
|
#ifndef HAVE_OPENGLES
|
2016-02-20 04:48:45 +00:00
|
|
|
#include "../gfx/drivers_context/x_ctx.c"
|
2015-04-16 20:39:28 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_EGL
|
|
|
|
#include "../gfx/drivers_context/xegl_ctx.c"
|
|
|
|
#endif
|
|
|
|
|
2013-07-07 19:25:22 +00:00
|
|
|
#endif
|
|
|
|
|
2012-05-28 03:19:04 +00:00
|
|
|
/*============================================================
|
|
|
|
VIDEO SHADERS
|
|
|
|
============================================================ */
|
2015-01-12 22:42:50 +00:00
|
|
|
#include "../gfx/video_shader_parse.c"
|
2015-01-12 21:23:48 +00:00
|
|
|
#include "../gfx/drivers_shader/shader_null.c"
|
2013-04-06 09:30:56 +00:00
|
|
|
|
2012-05-27 20:58:14 +00:00
|
|
|
#ifdef HAVE_CG
|
2014-10-02 13:19:21 +00:00
|
|
|
#ifdef HAVE_OPENGL
|
2015-01-12 21:23:48 +00:00
|
|
|
#include "../gfx/drivers_shader/shader_gl_cg.c"
|
2014-10-02 13:19:21 +00:00
|
|
|
#endif
|
2012-05-27 20:39:29 +00:00
|
|
|
#endif
|
|
|
|
|
2012-07-01 20:46:25 +00:00
|
|
|
#ifdef HAVE_GLSL
|
2015-01-12 21:23:48 +00:00
|
|
|
#include "../gfx/drivers_shader/shader_glsl.c"
|
2012-07-01 20:46:25 +00:00
|
|
|
#endif
|
|
|
|
|
2017-11-06 18:44:00 +00:00
|
|
|
#if defined(HAVE_D3D)
|
|
|
|
|
|
|
|
#ifdef HAVE_HLSL
|
|
|
|
#include "../gfx/drivers_shader/shader_hlsl.c"
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2012-05-28 03:19:04 +00:00
|
|
|
/*============================================================
|
|
|
|
VIDEO IMAGE
|
|
|
|
============================================================ */
|
|
|
|
|
2016-05-18 10:57:44 +00:00
|
|
|
#include "../libretro-common/formats/image_texture.c"
|
2015-11-09 00:19:09 +00:00
|
|
|
|
2016-05-11 19:57:41 +00:00
|
|
|
#ifdef HAVE_RTGA
|
2015-09-19 13:36:39 +00:00
|
|
|
#include "../libretro-common/formats/tga/rtga.c"
|
2016-05-11 19:57:41 +00:00
|
|
|
#endif
|
2015-04-19 14:55:03 +00:00
|
|
|
|
2015-06-28 16:55:00 +00:00
|
|
|
#ifdef HAVE_IMAGEVIEWER
|
2016-01-21 18:53:52 +00:00
|
|
|
#include "../cores/libretro-imageviewer/image_core.c"
|
2015-06-28 16:55:00 +00:00
|
|
|
#endif
|
|
|
|
|
2016-05-13 02:38:21 +00:00
|
|
|
#include "../libretro-common/formats/image_transfer.c"
|
2015-04-19 14:55:03 +00:00
|
|
|
#ifdef HAVE_RPNG
|
2015-09-18 23:40:29 +00:00
|
|
|
#include "../libretro-common/formats/png/rpng.c"
|
2015-02-20 22:38:48 +00:00
|
|
|
#include "../libretro-common/formats/png/rpng_encode.c"
|
2015-09-19 00:52:23 +00:00
|
|
|
#endif
|
2016-05-11 19:27:17 +00:00
|
|
|
#ifdef HAVE_RJPEG
|
2016-05-07 02:33:54 +00:00
|
|
|
#include "../libretro-common/formats/jpeg/rjpeg.c"
|
2016-05-11 19:27:17 +00:00
|
|
|
#endif
|
2016-05-18 11:28:20 +00:00
|
|
|
#ifdef HAVE_RBMP
|
2016-05-17 19:21:37 +00:00
|
|
|
#include "../libretro-common/formats/bmp/rbmp.c"
|
2015-09-19 02:40:30 +00:00
|
|
|
#include "../libretro-common/formats/bmp/rbmp_encode.c"
|
2016-06-07 04:14:55 +00:00
|
|
|
#endif
|
2015-09-19 00:44:28 +00:00
|
|
|
|
2017-01-27 23:28:51 +00:00
|
|
|
#include "../libretro-common/formats/wav/rwav.c"
|
|
|
|
|
2012-05-28 03:19:04 +00:00
|
|
|
/*============================================================
|
|
|
|
VIDEO DRIVER
|
|
|
|
============================================================ */
|
2017-10-02 01:52:53 +00:00
|
|
|
#if defined(HAVE_D3D)
|
|
|
|
#include "../gfx/common/d3d_common.c"
|
2017-10-02 19:39:35 +00:00
|
|
|
|
|
|
|
#if defined(HAVE_D3D8)
|
2018-01-23 01:55:33 +00:00
|
|
|
#include "../gfx/drivers/d3d8.c"
|
2018-03-03 14:30:35 +00:00
|
|
|
#include "../gfx/common/d3d8_common.c"
|
2017-10-02 19:39:35 +00:00
|
|
|
#endif
|
2017-10-03 00:49:06 +00:00
|
|
|
|
|
|
|
#if defined(HAVE_D3D9)
|
2018-01-23 01:55:33 +00:00
|
|
|
#include "../gfx/drivers/d3d9.c"
|
2018-03-03 14:30:35 +00:00
|
|
|
#include "../gfx/common/d3d9_common.c"
|
2017-10-03 00:49:06 +00:00
|
|
|
|
2017-11-06 18:49:06 +00:00
|
|
|
#ifdef HAVE_HLSL
|
|
|
|
#include "../gfx/drivers_renderchain/d3d9_hlsl_renderchain.c"
|
|
|
|
#endif
|
|
|
|
|
2017-10-03 00:49:06 +00:00
|
|
|
#ifdef HAVE_CG
|
|
|
|
#include "../gfx/drivers_renderchain/d3d9_cg_renderchain.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
2017-10-02 01:52:53 +00:00
|
|
|
#endif
|
2012-05-28 03:19:04 +00:00
|
|
|
|
2018-01-21 03:10:45 +00:00
|
|
|
#if defined(HAVE_D3D11)
|
|
|
|
#include "../gfx/drivers/d3d11.c"
|
2018-01-21 06:49:07 +00:00
|
|
|
#include "../gfx/common/d3d11_common.c"
|
2018-01-21 03:10:45 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(HAVE_D3D12)
|
|
|
|
#include "../gfx/drivers/d3d12.c"
|
2018-01-21 06:49:07 +00:00
|
|
|
#include "../gfx/common/d3d12_common.c"
|
|
|
|
#endif
|
|
|
|
|
2018-01-23 18:29:32 +00:00
|
|
|
#if defined(HAVE_D3D10)
|
|
|
|
#include "../gfx/drivers/d3d10.c"
|
|
|
|
#include "../gfx/common/d3d10_common.c"
|
|
|
|
#endif
|
|
|
|
|
2018-01-23 17:04:55 +00:00
|
|
|
#if defined(HAVE_D3D10) || defined(HAVE_D3D11) || defined(HAVE_D3D12)
|
2018-01-21 06:49:07 +00:00
|
|
|
#include "../gfx/common/d3dcompiler_common.c"
|
|
|
|
#include "../gfx/common/dxgi_common.c"
|
2018-01-21 03:10:45 +00:00
|
|
|
#endif
|
|
|
|
|
2015-04-23 00:26:09 +00:00
|
|
|
#if defined(GEKKO)
|
2012-08-08 20:39:19 +00:00
|
|
|
#ifdef HW_RVL
|
2015-09-20 13:05:30 +00:00
|
|
|
#include "../gfx/drivers/gx_gfx_vi_encoder.c"
|
2015-09-20 12:54:41 +00:00
|
|
|
#include "../memory/wii/mem2_manager.c"
|
2012-08-08 20:39:19 +00:00
|
|
|
#endif
|
2012-04-14 11:42:25 +00:00
|
|
|
#endif
|
|
|
|
|
2018-01-11 01:09:34 +00:00
|
|
|
#if defined(__wiiu__)
|
2018-01-12 01:54:45 +00:00
|
|
|
#include "../gfx/drivers/gx2_gfx.c"
|
2018-01-11 01:09:34 +00:00
|
|
|
#endif
|
|
|
|
|
2016-09-03 05:10:55 +00:00
|
|
|
#ifdef HAVE_SDL2
|
|
|
|
#include "../gfx/drivers/sdl2_gfx.c"
|
|
|
|
#endif
|
|
|
|
|
2013-07-07 19:17:58 +00:00
|
|
|
#ifdef HAVE_VG
|
2015-01-12 05:45:12 +00:00
|
|
|
#include "../gfx/drivers/vg.c"
|
2013-07-07 19:17:58 +00:00
|
|
|
#endif
|
|
|
|
|
2013-07-28 17:56:35 +00:00
|
|
|
#ifdef HAVE_OMAP
|
2015-01-12 05:45:12 +00:00
|
|
|
#include "../gfx/drivers/omap_gfx.c"
|
2013-07-28 17:56:35 +00:00
|
|
|
#endif
|
|
|
|
|
2016-02-17 04:22:17 +00:00
|
|
|
#ifdef HAVE_VULKAN
|
|
|
|
#include "../gfx/drivers/vulkan.c"
|
|
|
|
#endif
|
|
|
|
|
2016-07-03 20:08:56 +00:00
|
|
|
#if defined(HAVE_PLAIN_DRM)
|
2016-07-03 08:37:07 +00:00
|
|
|
#include "../gfx/drivers/drm_gfx.c"
|
|
|
|
#endif
|
|
|
|
|
2017-04-18 23:51:05 +00:00
|
|
|
#include "../gfx/drivers_renderchain/null_renderchain.c"
|
2017-12-11 23:12:32 +00:00
|
|
|
#include "../gfx/display_servers/dispserv_null.c"
|
2017-04-18 23:51:05 +00:00
|
|
|
|
2013-01-10 02:34:43 +00:00
|
|
|
#ifdef HAVE_OPENGL
|
2015-11-17 07:01:33 +00:00
|
|
|
#include "../gfx/common/gl_common.c"
|
2015-01-12 05:45:12 +00:00
|
|
|
#include "../gfx/drivers/gl.c"
|
2016-10-24 02:06:49 +00:00
|
|
|
#include "../libretro-common/gfx/gl_capabilities.c"
|
2017-09-19 13:06:49 +00:00
|
|
|
#include "../gfx/drivers_renderchain/gl2_renderchain.c"
|
2013-08-11 13:06:42 +00:00
|
|
|
|
2013-08-11 13:10:56 +00:00
|
|
|
#ifndef HAVE_PSGL
|
2015-02-18 23:04:03 +00:00
|
|
|
#include "../libretro-common/glsym/rglgen.c"
|
2016-12-09 17:07:37 +00:00
|
|
|
#if defined(HAVE_OPENGLES2)
|
2015-02-18 23:04:03 +00:00
|
|
|
#include "../libretro-common/glsym/glsym_es2.c"
|
2016-12-09 17:07:37 +00:00
|
|
|
#elif defined(HAVE_OPENGLES3)
|
|
|
|
#include "../libretro-common/glsym/glsym_es3.c"
|
2013-07-05 17:29:48 +00:00
|
|
|
#else
|
2015-02-18 23:04:03 +00:00
|
|
|
#include "../libretro-common/glsym/glsym_gl.c"
|
2013-07-05 17:29:48 +00:00
|
|
|
#endif
|
2013-01-10 02:34:43 +00:00
|
|
|
#endif
|
|
|
|
|
2013-08-11 13:06:42 +00:00
|
|
|
#endif
|
|
|
|
|
2013-07-07 19:17:58 +00:00
|
|
|
#ifdef HAVE_XVIDEO
|
2015-01-12 05:45:12 +00:00
|
|
|
#include "../gfx/drivers/xvideo.c"
|
2013-07-07 19:17:58 +00:00
|
|
|
#endif
|
|
|
|
|
2013-01-10 02:34:43 +00:00
|
|
|
#if defined(GEKKO)
|
2015-01-12 05:55:31 +00:00
|
|
|
#include "../gfx/drivers/gx_gfx.c"
|
2013-07-27 18:47:00 +00:00
|
|
|
#elif defined(PSP)
|
2015-01-12 05:55:31 +00:00
|
|
|
#include "../gfx/drivers/psp1_gfx.c"
|
2015-08-30 18:04:52 +00:00
|
|
|
#elif defined(HAVE_VITA2D)
|
2016-07-31 22:50:13 +00:00
|
|
|
#include "../deps/libvita2d/source/vita2d.c"
|
|
|
|
#include "../deps/libvita2d/source/vita2d_texture.c"
|
|
|
|
#include "../deps/libvita2d/source/vita2d_draw.c"
|
|
|
|
#include "../deps/libvita2d/source/utils.c"
|
|
|
|
|
2015-08-30 18:04:52 +00:00
|
|
|
#include "../gfx/drivers/vita2d_gfx.c"
|
2015-04-01 21:14:13 +00:00
|
|
|
#elif defined(_3DS)
|
|
|
|
#include "../gfx/drivers/ctr_gfx.c"
|
2013-01-09 04:54:48 +00:00
|
|
|
#elif defined(XENON)
|
2015-01-12 05:45:12 +00:00
|
|
|
#include "../gfx/drivers/xenon360_gfx.c"
|
2017-01-24 05:55:55 +00:00
|
|
|
#elif defined(DJGPP)
|
|
|
|
#include "../gfx/drivers/vga_gfx.c"
|
2013-01-09 04:57:02 +00:00
|
|
|
#endif
|
2015-01-12 05:45:12 +00:00
|
|
|
#include "../gfx/drivers/nullgfx.c"
|
2012-06-20 04:39:52 +00:00
|
|
|
|
2017-01-05 22:21:13 +00:00
|
|
|
#if defined(_WIN32) && !defined(_XBOX)
|
|
|
|
#include "../gfx/drivers/gdi_gfx.c"
|
|
|
|
#endif
|
|
|
|
|
2017-08-04 13:05:29 +00:00
|
|
|
#include "../deps/ibxm/ibxm.c"
|
|
|
|
|
2012-05-27 02:02:07 +00:00
|
|
|
/*============================================================
|
|
|
|
FONTS
|
|
|
|
============================================================ */
|
|
|
|
|
2015-01-12 22:34:10 +00:00
|
|
|
#include "../gfx/drivers_font_renderer/bitmapfont.c"
|
2015-04-03 18:36:19 +00:00
|
|
|
#include "../gfx/font_driver.c"
|
2014-02-05 15:30:55 +00:00
|
|
|
|
2018-01-04 13:42:13 +00:00
|
|
|
#if defined(HAVE_D3D9) && defined(HAVE_D3DX)
|
2017-10-02 19:52:10 +00:00
|
|
|
#include "../gfx/drivers_font/d3d_w32_font.c"
|
|
|
|
#endif
|
|
|
|
|
2015-07-14 15:05:08 +00:00
|
|
|
#if defined(HAVE_STB_FONT)
|
2016-11-05 17:59:44 +00:00
|
|
|
#include "../gfx/drivers_font_renderer/stb_unicode.c"
|
2015-07-14 15:05:08 +00:00
|
|
|
#include "../gfx/drivers_font_renderer/stb.c"
|
|
|
|
#endif
|
|
|
|
|
2013-02-25 00:19:12 +00:00
|
|
|
#if defined(HAVE_FREETYPE)
|
2015-01-12 22:34:10 +00:00
|
|
|
#include "../gfx/drivers_font_renderer/freetype.c"
|
2013-02-25 02:43:19 +00:00
|
|
|
#endif
|
|
|
|
|
2015-04-19 14:18:58 +00:00
|
|
|
#if defined(__APPLE__) && defined(HAVE_CORETEXT)
|
2015-01-12 22:34:10 +00:00
|
|
|
#include "../gfx/drivers_font_renderer/coretext.c"
|
2014-10-19 00:19:44 +00:00
|
|
|
#endif
|
|
|
|
|
2013-11-07 01:54:09 +00:00
|
|
|
#if defined(HAVE_LIBDBGFONT)
|
2015-01-12 22:38:21 +00:00
|
|
|
#include "../gfx/drivers_font/ps_libdbgfont.c"
|
2014-09-25 04:56:23 +00:00
|
|
|
#endif
|
|
|
|
|
2015-04-23 00:04:32 +00:00
|
|
|
#if defined(HAVE_OPENGL)
|
2015-01-12 22:38:21 +00:00
|
|
|
#include "../gfx/drivers_font/gl_raster_font.c"
|
2014-09-25 04:56:23 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(_XBOX1)
|
2015-01-12 22:38:21 +00:00
|
|
|
#include "../gfx/drivers_font/xdk1_xfonts.c"
|
2012-04-13 23:02:37 +00:00
|
|
|
#endif
|
2012-09-27 16:16:06 +00:00
|
|
|
|
2015-09-30 23:10:26 +00:00
|
|
|
#if defined(VITA)
|
|
|
|
#include "../gfx/drivers_font/vita2d_font.c"
|
|
|
|
#endif
|
|
|
|
|
2016-09-29 19:14:12 +00:00
|
|
|
#if defined(_3DS)
|
|
|
|
#include "../gfx/drivers_font/ctr_font.c"
|
|
|
|
#endif
|
|
|
|
|
2017-05-21 02:05:41 +00:00
|
|
|
#if defined(WIIU)
|
|
|
|
#include "../gfx/drivers_font/wiiu_font.c"
|
|
|
|
#endif
|
|
|
|
|
2016-12-01 17:13:36 +00:00
|
|
|
#if defined(HAVE_CACA)
|
|
|
|
#include "../gfx/drivers_font/caca_font.c"
|
|
|
|
#endif
|
|
|
|
|
2017-01-21 22:41:20 +00:00
|
|
|
#if defined(DJGPP)
|
|
|
|
#include "../gfx/drivers_font/vga_font.c"
|
|
|
|
#endif
|
|
|
|
|
2017-01-04 07:07:19 +00:00
|
|
|
#if defined(_WIN32) && !defined(_XBOX)
|
|
|
|
#include "../gfx/drivers_font/gdi_font.c"
|
|
|
|
#endif
|
2016-09-29 19:14:12 +00:00
|
|
|
|
2016-02-17 04:22:17 +00:00
|
|
|
#if defined(HAVE_VULKAN)
|
|
|
|
#include "../gfx/drivers_font/vulkan_raster_font.c"
|
|
|
|
#endif
|
|
|
|
|
2018-01-24 19:51:19 +00:00
|
|
|
#if defined(HAVE_D3D11)
|
|
|
|
#include "../gfx/drivers_font/d3d11_font.c"
|
|
|
|
#endif
|
|
|
|
|
2018-02-07 20:59:18 +00:00
|
|
|
#if defined(HAVE_D3D12)
|
|
|
|
#include "../gfx/drivers_font/d3d12_font.c"
|
|
|
|
#endif
|
|
|
|
|
2012-04-13 23:02:37 +00:00
|
|
|
/*============================================================
|
|
|
|
INPUT
|
|
|
|
============================================================ */
|
2016-12-01 19:38:20 +00:00
|
|
|
#include "../tasks/task_autodetect.c"
|
2017-05-14 00:04:06 +00:00
|
|
|
#include "../tasks/task_audio_mixer.c"
|
2014-10-27 03:27:48 +00:00
|
|
|
#include "../input/input_keymaps.c"
|
2015-01-19 17:16:34 +00:00
|
|
|
#include "../input/input_remapping.c"
|
2012-12-23 17:39:34 +00:00
|
|
|
|
|
|
|
#ifdef HAVE_OVERLAY
|
2015-01-12 20:59:32 +00:00
|
|
|
#include "../input/input_overlay.c"
|
2018-01-11 00:52:32 +00:00
|
|
|
#include "../led/drivers/led_overlay.c"
|
2015-05-05 16:16:09 +00:00
|
|
|
#include "../tasks/task_overlay.c"
|
2012-12-23 17:39:34 +00:00
|
|
|
#endif
|
2012-12-20 19:48:09 +00:00
|
|
|
|
2015-11-29 02:34:09 +00:00
|
|
|
#ifdef HAVE_X11
|
|
|
|
#include "../input/common/x11_input_common.c"
|
|
|
|
#endif
|
|
|
|
|
2017-05-24 01:02:53 +00:00
|
|
|
#if defined(_WIN32) && !defined(_XBOX) && _WIN32_WINNT >= 0x0501
|
|
|
|
/* winraw only available since XP */
|
2017-05-19 03:56:20 +00:00
|
|
|
#include "../input/drivers/winraw_input.c"
|
2017-05-19 03:54:33 +00:00
|
|
|
#endif
|
|
|
|
|
2016-09-03 05:39:26 +00:00
|
|
|
#include "../input/input_autodetect_builtin.c"
|
2016-09-03 05:02:05 +00:00
|
|
|
|
2012-07-01 12:10:13 +00:00
|
|
|
#if defined(__CELLOS_LV2__)
|
2015-01-12 05:16:52 +00:00
|
|
|
#include "../input/drivers/ps3_input.c"
|
2015-04-02 16:42:15 +00:00
|
|
|
#include "../input/drivers_joypad/ps3_joypad.c"
|
2015-08-10 21:19:07 +00:00
|
|
|
#elif defined(SN_TARGET_PSP2) || defined(PSP) || defined(VITA)
|
2015-01-12 05:16:52 +00:00
|
|
|
#include "../input/drivers/psp_input.c"
|
2015-04-02 16:42:15 +00:00
|
|
|
#include "../input/drivers_joypad/psp_joypad.c"
|
2015-11-16 00:14:43 +00:00
|
|
|
#elif defined(HAVE_COCOA) || defined(HAVE_COCOATOUCH)
|
|
|
|
#include "../input/drivers/cocoa_input.c"
|
2015-04-01 21:14:13 +00:00
|
|
|
#elif defined(_3DS)
|
|
|
|
#include "../input/drivers/ctr_input.c"
|
2015-04-02 16:42:15 +00:00
|
|
|
#include "../input/drivers_joypad/ctr_joypad.c"
|
2012-04-14 11:42:25 +00:00
|
|
|
#elif defined(GEKKO)
|
2015-01-12 05:16:52 +00:00
|
|
|
#include "../input/drivers/gx_input.c"
|
2015-04-02 16:42:15 +00:00
|
|
|
#include "../input/drivers_joypad/gx_joypad.c"
|
2018-01-11 01:09:34 +00:00
|
|
|
#elif defined(__wiiu__)
|
|
|
|
#include "../input/drivers/wiiu_input.c"
|
|
|
|
#include "../input/drivers_joypad/wiiu_joypad.c"
|
2012-07-31 18:56:05 +00:00
|
|
|
#elif defined(_XBOX)
|
2015-01-12 05:16:52 +00:00
|
|
|
#include "../input/drivers/xdk_xinput_input.c"
|
2015-04-02 16:42:15 +00:00
|
|
|
#include "../input/drivers_joypad/xdk_joypad.c"
|
2012-11-25 04:41:12 +00:00
|
|
|
#elif defined(XENON)
|
2015-01-12 05:16:52 +00:00
|
|
|
#include "../input/drivers/xenon360_input.c"
|
2012-11-03 07:42:33 +00:00
|
|
|
#elif defined(ANDROID)
|
2015-01-12 05:16:52 +00:00
|
|
|
#include "../input/drivers/android_input.c"
|
2015-11-29 15:18:29 +00:00
|
|
|
#include "../input/drivers_keyboard/keyboard_event_android.c"
|
2015-04-02 16:42:15 +00:00
|
|
|
#include "../input/drivers_joypad/android_joypad.c"
|
2014-05-20 00:48:11 +00:00
|
|
|
#elif defined(__QNX__)
|
2015-01-12 05:16:52 +00:00
|
|
|
#include "../input/drivers/qnx_input.c"
|
2015-04-02 16:42:15 +00:00
|
|
|
#include "../input/drivers_joypad/qnx_joypad.c"
|
2013-11-17 22:21:40 +00:00
|
|
|
#elif defined(EMSCRIPTEN)
|
2015-01-12 05:16:52 +00:00
|
|
|
#include "../input/drivers/rwebinput_input.c"
|
2018-01-14 06:15:30 +00:00
|
|
|
#include "../input/drivers_joypad/rwebpad_joypad.c"
|
2017-01-24 05:55:55 +00:00
|
|
|
#elif defined(DJGPP)
|
|
|
|
#include "../input/drivers/dos_input.c"
|
|
|
|
#include "../input/drivers_joypad/dos_joypad.c"
|
2013-01-09 04:57:02 +00:00
|
|
|
#endif
|
|
|
|
|
2017-06-06 05:34:33 +00:00
|
|
|
#ifdef HAVE_WAYLAND
|
|
|
|
#include "../input/drivers/wayland_input.c"
|
|
|
|
#endif
|
|
|
|
|
2014-09-14 04:15:24 +00:00
|
|
|
#ifdef HAVE_DINPUT
|
2015-01-12 05:16:52 +00:00
|
|
|
#include "../input/drivers/dinput.c"
|
2015-04-07 23:58:09 +00:00
|
|
|
#include "../input/drivers_joypad/dinput_joypad.c"
|
2014-09-14 04:15:24 +00:00
|
|
|
#endif
|
|
|
|
|
2015-04-05 18:43:24 +00:00
|
|
|
#ifdef HAVE_XINPUT
|
2015-04-02 16:42:15 +00:00
|
|
|
#include "../input/drivers_joypad/xinput_joypad.c"
|
2014-09-14 04:15:24 +00:00
|
|
|
#endif
|
|
|
|
|
2015-04-01 21:14:13 +00:00
|
|
|
#if defined(__linux__) && !defined(ANDROID)
|
2015-11-17 05:46:32 +00:00
|
|
|
#include "../input/common/linux_common.c"
|
2015-01-12 05:16:52 +00:00
|
|
|
#include "../input/drivers/linuxraw_input.c"
|
2015-01-12 05:28:39 +00:00
|
|
|
#include "../input/drivers_joypad/linuxraw_joypad.c"
|
2013-07-07 17:22:54 +00:00
|
|
|
#endif
|
|
|
|
|
2013-07-07 19:25:22 +00:00
|
|
|
#ifdef HAVE_X11
|
2015-01-12 05:16:52 +00:00
|
|
|
#include "../input/drivers/x11_input.c"
|
2013-07-07 19:25:22 +00:00
|
|
|
#endif
|
|
|
|
|
2014-10-27 18:25:59 +00:00
|
|
|
#ifdef HAVE_UDEV
|
2015-01-12 05:16:52 +00:00
|
|
|
#include "../input/drivers/udev_input.c"
|
2015-01-12 05:28:39 +00:00
|
|
|
#include "../input/drivers_joypad/udev_joypad.c"
|
2014-10-27 18:25:59 +00:00
|
|
|
#endif
|
|
|
|
|
2015-01-12 05:16:52 +00:00
|
|
|
#include "../input/drivers/nullinput.c"
|
2015-04-02 16:44:02 +00:00
|
|
|
#include "../input/drivers_joypad/null_joypad.c"
|
2012-06-20 04:39:52 +00:00
|
|
|
|
2015-04-02 15:49:32 +00:00
|
|
|
/*============================================================
|
|
|
|
INPUT (HID)
|
|
|
|
============================================================ */
|
2016-06-07 01:01:33 +00:00
|
|
|
#ifdef HAVE_HID
|
2016-06-07 03:15:22 +00:00
|
|
|
#include "../input/drivers_joypad/hid_joypad.c"
|
2015-04-02 15:49:32 +00:00
|
|
|
#include "../input/drivers_hid/null_hid.c"
|
|
|
|
|
2016-05-11 17:02:43 +00:00
|
|
|
#if defined(HAVE_LIBUSB) && defined(HAVE_THREADS)
|
2015-04-02 15:49:32 +00:00
|
|
|
#include "../input/drivers_hid/libusb_hid.c"
|
2015-04-07 04:57:05 +00:00
|
|
|
#endif
|
|
|
|
|
2015-11-16 03:17:13 +00:00
|
|
|
#ifdef HAVE_BTSTACK
|
2015-04-04 03:23:26 +00:00
|
|
|
#include "../input/drivers_hid/btstack_hid.c"
|
2015-11-16 03:17:13 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(__APPLE__) && defined(HAVE_IOHIDMANAGER)
|
2015-04-20 09:52:10 +00:00
|
|
|
#include "../input/drivers_hid/iohidmanager_hid.c"
|
2015-04-02 15:49:32 +00:00
|
|
|
#endif
|
|
|
|
|
2015-08-30 07:48:38 +00:00
|
|
|
#ifdef HAVE_WIIUSB_HID
|
|
|
|
#include "../input/drivers_hid/wiiusb_hid.c"
|
|
|
|
#endif
|
|
|
|
|
2015-04-02 15:49:32 +00:00
|
|
|
#include "../input/connect/joypad_connection.c"
|
|
|
|
#include "../input/connect/connect_ps3.c"
|
|
|
|
#include "../input/connect/connect_ps4.c"
|
|
|
|
#include "../input/connect/connect_wii.c"
|
2015-12-12 17:30:17 +00:00
|
|
|
#include "../input/connect/connect_wiiupro.c"
|
2016-02-04 22:01:03 +00:00
|
|
|
#include "../input/connect/connect_snesusb.c"
|
|
|
|
#include "../input/connect/connect_nesusb.c"
|
|
|
|
#include "../input/connect/connect_wiiugca.c"
|
2016-04-17 00:33:17 +00:00
|
|
|
#include "../input/connect/connect_ps2adapter.c"
|
2017-06-17 21:19:09 +00:00
|
|
|
#include "../input/connect/connect_psxadapter.c"
|
2016-02-04 22:01:03 +00:00
|
|
|
#endif
|
2015-04-02 15:49:32 +00:00
|
|
|
|
2014-10-27 13:58:51 +00:00
|
|
|
/*============================================================
|
|
|
|
KEYBOARD EVENT
|
|
|
|
============================================================ */
|
|
|
|
|
|
|
|
#ifdef __APPLE__
|
2015-04-04 18:42:16 +00:00
|
|
|
#include "../input/drivers_keyboard/keyboard_event_apple.c"
|
2014-10-27 13:58:51 +00:00
|
|
|
#endif
|
|
|
|
|
2014-10-27 18:25:59 +00:00
|
|
|
#ifdef HAVE_XKBCOMMON
|
2015-04-04 18:42:16 +00:00
|
|
|
#include "../input/drivers_keyboard/keyboard_event_xkb.c"
|
2014-10-27 18:25:59 +00:00
|
|
|
#endif
|
|
|
|
|
2012-04-13 23:02:37 +00:00
|
|
|
/*============================================================
|
2012-05-28 03:19:04 +00:00
|
|
|
STATE TRACKER
|
2012-04-13 23:02:37 +00:00
|
|
|
============================================================ */
|
2015-01-12 15:00:13 +00:00
|
|
|
#include "../gfx/video_state_tracker.c"
|
2012-04-13 23:02:37 +00:00
|
|
|
|
2013-07-07 19:25:22 +00:00
|
|
|
#ifdef HAVE_PYTHON
|
2016-09-11 15:59:10 +00:00
|
|
|
#include "../gfx/drivers_tracker/video_state_python.c"
|
2013-07-07 19:25:22 +00:00
|
|
|
#endif
|
|
|
|
|
2012-04-13 23:02:37 +00:00
|
|
|
/*============================================================
|
|
|
|
FIFO BUFFER
|
|
|
|
============================================================ */
|
2016-03-20 13:06:21 +00:00
|
|
|
#include "../libretro-common/queues/fifo_queue.c"
|
2012-04-13 23:02:37 +00:00
|
|
|
|
|
|
|
/*============================================================
|
2013-02-08 10:49:51 +00:00
|
|
|
AUDIO RESAMPLER
|
2012-04-13 23:02:37 +00:00
|
|
|
============================================================ */
|
2016-12-12 12:02:29 +00:00
|
|
|
#include "../libretro-common/audio/resampler/audio_resampler.c"
|
|
|
|
#include "../libretro-common/audio/resampler/drivers/sinc_resampler.c"
|
|
|
|
#include "../libretro-common/audio/resampler/drivers/nearest_resampler.c"
|
|
|
|
#include "../libretro-common/audio/resampler/drivers/null_resampler.c"
|
2016-12-12 11:48:04 +00:00
|
|
|
#ifdef HAVE_CC_RESAMPLER
|
2015-01-12 21:11:13 +00:00
|
|
|
#include "../audio/drivers_resampler/cc_resampler.c"
|
2016-12-12 11:48:04 +00:00
|
|
|
#endif
|
2012-04-13 23:02:37 +00:00
|
|
|
|
2013-11-17 18:47:37 +00:00
|
|
|
/*============================================================
|
|
|
|
CAMERA
|
|
|
|
============================================================ */
|
|
|
|
#if defined(ANDROID)
|
2015-01-12 18:04:12 +00:00
|
|
|
#include "../camera/drivers/android.c"
|
2013-11-17 18:47:37 +00:00
|
|
|
#elif defined(EMSCRIPTEN)
|
2015-01-12 18:04:12 +00:00
|
|
|
#include "../camera/drivers/rwebcam.c"
|
2013-11-17 18:47:37 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_V4L2
|
2015-01-12 18:04:12 +00:00
|
|
|
#include "../camera/drivers/video4linux2.c"
|
2013-11-17 18:47:37 +00:00
|
|
|
#endif
|
|
|
|
|
2016-07-28 18:01:38 +00:00
|
|
|
#ifdef HAVE_VIDEO_PROCESSOR
|
|
|
|
#include "../cores/libretro-video-processor/video_processor_v4l2.c"
|
|
|
|
#endif
|
|
|
|
|
2015-01-12 18:04:12 +00:00
|
|
|
#include "../camera/drivers/nullcamera.c"
|
2013-11-17 18:47:37 +00:00
|
|
|
|
2017-12-27 19:39:49 +00:00
|
|
|
/*============================================================
|
|
|
|
LEDS
|
|
|
|
============================================================ */
|
|
|
|
|
|
|
|
#include "../led/led_driver.c"
|
|
|
|
|
2018-01-11 00:52:32 +00:00
|
|
|
#include "../led/drivers/led_null.c"
|
2017-12-27 19:39:49 +00:00
|
|
|
|
|
|
|
#if defined(HAVE_RPILED)
|
2018-01-11 00:52:32 +00:00
|
|
|
#include "../led/drivers/led_rpi.c"
|
2017-12-27 19:39:49 +00:00
|
|
|
#endif
|
|
|
|
|
2013-12-19 00:51:51 +00:00
|
|
|
/*============================================================
|
|
|
|
LOCATION
|
|
|
|
============================================================ */
|
2013-12-19 02:37:26 +00:00
|
|
|
#if defined(ANDROID)
|
2015-01-12 18:05:33 +00:00
|
|
|
#include "../location/drivers/android.c"
|
2013-12-19 02:37:26 +00:00
|
|
|
#endif
|
|
|
|
|
2015-01-12 18:05:33 +00:00
|
|
|
#include "../location/drivers/nulllocation.c"
|
2013-12-19 00:51:51 +00:00
|
|
|
|
2012-04-13 23:02:37 +00:00
|
|
|
/*============================================================
|
|
|
|
RSOUND
|
|
|
|
============================================================ */
|
2012-05-22 15:26:23 +00:00
|
|
|
#ifdef HAVE_RSOUND
|
2013-10-31 23:07:52 +00:00
|
|
|
#include "../audio/librsound.c"
|
2015-01-12 21:28:59 +00:00
|
|
|
#include "../audio/drivers/rsound.c"
|
2012-04-13 23:02:37 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
AUDIO
|
|
|
|
============================================================ */
|
2012-07-01 13:18:26 +00:00
|
|
|
#if defined(__CELLOS_LV2__)
|
2015-01-12 04:05:56 +00:00
|
|
|
#include "../audio/drivers/ps3_audio.c"
|
2012-11-25 04:41:12 +00:00
|
|
|
#elif defined(XENON)
|
2015-01-12 04:05:56 +00:00
|
|
|
#include "../audio/drivers/xenon360_audio.c"
|
2012-04-14 11:42:25 +00:00
|
|
|
#elif defined(GEKKO)
|
2015-01-12 04:05:56 +00:00
|
|
|
#include "../audio/drivers/gx_audio.c"
|
2018-01-11 01:09:34 +00:00
|
|
|
#elif defined(__wiiu__)
|
|
|
|
#include "../audio/drivers/wiiu_audio.c"
|
2013-11-17 22:21:40 +00:00
|
|
|
#elif defined(EMSCRIPTEN)
|
2015-01-12 04:05:56 +00:00
|
|
|
#include "../audio/drivers/rwebaudio.c"
|
2015-08-12 10:18:45 +00:00
|
|
|
#elif defined(PSP) || defined(VITA)
|
|
|
|
#include "../audio/drivers/psp_audio.c"
|
2015-04-01 21:14:13 +00:00
|
|
|
#elif defined(_3DS)
|
2015-10-27 00:06:34 +00:00
|
|
|
#include "../audio/drivers/ctr_csnd_audio.c"
|
|
|
|
#include "../audio/drivers/ctr_dsp_audio.c"
|
2013-01-09 21:04:28 +00:00
|
|
|
#endif
|
|
|
|
|
2017-09-28 14:50:30 +00:00
|
|
|
#ifdef HAVE_XAUDIO
|
|
|
|
#include "../audio/drivers/xaudio.c"
|
|
|
|
#endif
|
|
|
|
|
2016-09-03 05:10:55 +00:00
|
|
|
#if defined(HAVE_SDL2)
|
|
|
|
#include "../audio/drivers/sdl_audio.c"
|
|
|
|
#endif
|
|
|
|
|
2013-01-09 21:04:28 +00:00
|
|
|
#ifdef HAVE_DSOUND
|
2015-01-12 04:05:56 +00:00
|
|
|
#include "../audio/drivers/dsound.c"
|
2013-01-09 21:04:28 +00:00
|
|
|
#endif
|
2017-04-10 22:54:21 +00:00
|
|
|
|
|
|
|
#ifdef HAVE_WASAPI
|
|
|
|
#include "../audio/drivers/wasapi.c"
|
|
|
|
#endif
|
2013-01-09 21:04:28 +00:00
|
|
|
|
|
|
|
#ifdef HAVE_SL
|
2015-01-12 04:05:56 +00:00
|
|
|
#include "../audio/drivers/opensl.c"
|
2013-01-09 04:57:02 +00:00
|
|
|
#endif
|
|
|
|
|
2013-06-19 10:52:47 +00:00
|
|
|
#ifdef HAVE_ALSA
|
2013-06-21 16:56:39 +00:00
|
|
|
#ifdef __QNX__
|
2015-01-12 04:05:56 +00:00
|
|
|
#include "../audio/drivers/alsa_qsa.c"
|
2013-06-21 16:56:39 +00:00
|
|
|
#else
|
2015-01-12 04:05:56 +00:00
|
|
|
#include "../audio/drivers/alsa.c"
|
|
|
|
#include "../audio/drivers/alsathread.c"
|
2013-06-19 10:52:47 +00:00
|
|
|
#endif
|
2013-06-21 16:56:39 +00:00
|
|
|
#endif
|
2013-06-19 10:52:47 +00:00
|
|
|
|
2017-06-24 01:44:00 +00:00
|
|
|
#ifdef HAVE_TINYALSA
|
|
|
|
#include "../audio/drivers/tinyalsa.c"
|
|
|
|
#endif
|
|
|
|
|
2013-02-25 00:19:12 +00:00
|
|
|
#ifdef HAVE_AL
|
2015-01-12 04:05:56 +00:00
|
|
|
#include "../audio/drivers/openal.c"
|
2013-02-25 00:19:12 +00:00
|
|
|
#endif
|
|
|
|
|
2013-03-18 05:17:00 +00:00
|
|
|
#ifdef HAVE_COREAUDIO
|
2015-01-12 04:05:56 +00:00
|
|
|
#include "../audio/drivers/coreaudio.c"
|
2013-03-18 05:17:00 +00:00
|
|
|
#endif
|
|
|
|
|
2015-01-12 04:05:56 +00:00
|
|
|
#include "../audio/drivers/nullaudio.c"
|
2012-07-08 16:30:19 +00:00
|
|
|
|
2012-11-03 15:38:03 +00:00
|
|
|
/*============================================================
|
|
|
|
DRIVERS
|
|
|
|
============================================================ */
|
2015-01-12 17:28:32 +00:00
|
|
|
#include "../gfx/video_driver.c"
|
2017-12-11 23:12:32 +00:00
|
|
|
#include "../gfx/video_display_server.c"
|
2016-03-05 06:27:48 +00:00
|
|
|
#include "../gfx/video_coord_array.c"
|
2015-01-12 17:39:27 +00:00
|
|
|
#include "../input/input_driver.c"
|
2015-01-12 17:09:31 +00:00
|
|
|
#include "../audio/audio_driver.c"
|
2017-03-22 02:00:21 +00:00
|
|
|
#include "../libretro-common/audio/audio_mixer.c"
|
2015-01-12 18:44:29 +00:00
|
|
|
#include "../camera/camera_driver.c"
|
2015-01-12 18:53:10 +00:00
|
|
|
#include "../location/location_driver.c"
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../driver.c"
|
2012-11-03 15:38:03 +00:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
SCALERS
|
|
|
|
============================================================ */
|
2015-02-18 23:04:03 +00:00
|
|
|
#include "../libretro-common/gfx/scaler/scaler_filter.c"
|
|
|
|
#include "../libretro-common/gfx/scaler/pixconv.c"
|
|
|
|
#include "../libretro-common/gfx/scaler/scaler.c"
|
|
|
|
#include "../libretro-common/gfx/scaler/scaler_int.c"
|
2012-11-03 15:38:03 +00:00
|
|
|
|
2014-04-16 00:09:09 +00:00
|
|
|
/*============================================================
|
|
|
|
FILTERS
|
|
|
|
============================================================ */
|
2014-04-16 01:33:10 +00:00
|
|
|
|
|
|
|
#ifdef HAVE_FILTERS_BUILTIN
|
2014-10-29 06:51:23 +00:00
|
|
|
#include "../gfx/video_filters/2xsai.c"
|
|
|
|
#include "../gfx/video_filters/super2xsai.c"
|
|
|
|
#include "../gfx/video_filters/supereagle.c"
|
|
|
|
#include "../gfx/video_filters/2xbr.c"
|
|
|
|
#include "../gfx/video_filters/darken.c"
|
|
|
|
#include "../gfx/video_filters/epx.c"
|
|
|
|
#include "../gfx/video_filters/scale2x.c"
|
|
|
|
#include "../gfx/video_filters/blargg_ntsc_snes.c"
|
|
|
|
#include "../gfx/video_filters/lq2x.c"
|
|
|
|
#include "../gfx/video_filters/phosphor2x.c"
|
|
|
|
|
2017-01-09 11:30:11 +00:00
|
|
|
#include "../libretro-common/audio/dsp_filters/echo.c"
|
|
|
|
#include "../libretro-common/audio/dsp_filters/eq.c"
|
|
|
|
#include "../libretro-common/audio/dsp_filters/chorus.c"
|
|
|
|
#include "../libretro-common/audio/dsp_filters/iir.c"
|
|
|
|
#include "../libretro-common/audio/dsp_filters/panning.c"
|
|
|
|
#include "../libretro-common/audio/dsp_filters/phaser.c"
|
|
|
|
#include "../libretro-common/audio/dsp_filters/reverb.c"
|
|
|
|
#include "../libretro-common/audio/dsp_filters/wahwah.c"
|
2014-04-16 00:09:09 +00:00
|
|
|
#endif
|
2017-01-09 11:30:11 +00:00
|
|
|
|
2012-04-13 23:02:37 +00:00
|
|
|
/*============================================================
|
|
|
|
DYNAMIC
|
|
|
|
============================================================ */
|
2015-05-08 07:49:49 +00:00
|
|
|
#include "../libretro-common/dynamic/dylib.c"
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../dynamic.c"
|
2014-11-20 06:03:25 +00:00
|
|
|
#include "../gfx/video_filter.c"
|
2017-01-09 11:22:29 +00:00
|
|
|
#include "../libretro-common/audio/dsp_filter.c"
|
2014-04-16 00:09:09 +00:00
|
|
|
|
2015-06-20 22:37:19 +00:00
|
|
|
/*============================================================
|
|
|
|
CORES
|
|
|
|
============================================================ */
|
|
|
|
#ifdef HAVE_FFMPEG
|
2015-10-19 14:55:08 +00:00
|
|
|
#include "../cores/libretro-ffmpeg/ffmpeg_core.c"
|
2015-06-20 22:37:19 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "../cores/dynamic_dummy.c"
|
2012-04-13 23:02:37 +00:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
FILE
|
|
|
|
============================================================ */
|
2015-02-18 23:04:03 +00:00
|
|
|
#include "../libretro-common/file/file_path.c"
|
2015-03-13 04:03:50 +00:00
|
|
|
#include "../file_path_special.c"
|
2016-06-20 03:20:14 +00:00
|
|
|
#include "../file_path_str.c"
|
2016-03-20 13:53:54 +00:00
|
|
|
#include "../libretro-common/lists/dir_list.c"
|
|
|
|
#include "../libretro-common/lists/string_list.c"
|
|
|
|
#include "../libretro-common/lists/file_list.c"
|
2016-08-29 01:07:20 +00:00
|
|
|
#include "../setting_list.c"
|
2015-09-04 16:38:29 +00:00
|
|
|
#include "../libretro-common/file/retro_dirent.c"
|
2016-03-20 15:29:14 +00:00
|
|
|
#include "../libretro-common/streams/file_stream.c"
|
2017-07-27 07:09:19 +00:00
|
|
|
#include "../libretro-common/streams/file_stream_transforms.c"
|
2016-04-06 19:58:23 +00:00
|
|
|
#include "../libretro-common/streams/interface_stream.c"
|
|
|
|
#include "../libretro-common/streams/memory_stream.c"
|
2017-12-11 19:51:46 +00:00
|
|
|
#include "../libretro-common/vfs/vfs_implementation.c"
|
2016-03-20 16:28:24 +00:00
|
|
|
#include "../list_special.c"
|
2015-03-13 14:43:52 +00:00
|
|
|
#include "../libretro-common/string/stdstring.c"
|
2015-02-18 23:04:03 +00:00
|
|
|
#include "../libretro-common/file/nbio/nbio_stdio.c"
|
2017-11-25 04:51:33 +00:00
|
|
|
#include "../libretro-common/file/nbio/nbio_linux.c"
|
|
|
|
#include "../libretro-common/file/nbio/nbio_unixmmap.c"
|
|
|
|
#include "../libretro-common/file/nbio/nbio_windowsmmap.c"
|
2017-11-25 04:35:55 +00:00
|
|
|
#include "../libretro-common/file/nbio/nbio_intf.c"
|
2012-04-13 23:02:37 +00:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
MESSAGE
|
|
|
|
============================================================ */
|
2015-02-18 23:04:03 +00:00
|
|
|
#include "../libretro-common/queues/message_queue.c"
|
2012-04-13 23:02:37 +00:00
|
|
|
|
|
|
|
/*============================================================
|
2015-03-20 23:42:09 +00:00
|
|
|
CONFIGURATION
|
2012-04-13 23:02:37 +00:00
|
|
|
============================================================ */
|
2015-03-20 23:42:09 +00:00
|
|
|
#include "../configuration.c"
|
2012-04-13 23:02:37 +00:00
|
|
|
|
|
|
|
/*============================================================
|
2016-05-09 05:14:10 +00:00
|
|
|
STATE MANAGER
|
2012-04-13 23:02:37 +00:00
|
|
|
============================================================ */
|
2016-05-09 16:20:52 +00:00
|
|
|
#include "../managers/state_manager.c"
|
2012-04-13 23:02:37 +00:00
|
|
|
|
2013-07-27 10:59:23 +00:00
|
|
|
/*============================================================
|
|
|
|
FRONTEND
|
|
|
|
============================================================ */
|
|
|
|
|
2015-01-12 20:21:08 +00:00
|
|
|
#include "../frontend/frontend_driver.c"
|
2013-07-26 18:58:47 +00:00
|
|
|
|
2015-04-07 19:51:57 +00:00
|
|
|
#if defined(_WIN32) && !defined(_XBOX)
|
|
|
|
#include "../frontend/drivers/platform_win32.c"
|
|
|
|
#endif
|
2017-10-03 02:36:43 +00:00
|
|
|
|
|
|
|
#ifdef _XBOX
|
|
|
|
#include "../frontend/drivers/platform_xdk.c"
|
|
|
|
#endif
|
|
|
|
|
2013-07-27 10:59:23 +00:00
|
|
|
#if defined(__CELLOS_LV2__)
|
2015-01-12 20:47:01 +00:00
|
|
|
#include "../frontend/drivers/platform_ps3.c"
|
2013-07-27 10:59:23 +00:00
|
|
|
#elif defined(GEKKO)
|
2015-01-12 20:47:01 +00:00
|
|
|
#include "../frontend/drivers/platform_gx.c"
|
2013-11-03 16:39:12 +00:00
|
|
|
#ifdef HW_RVL
|
2015-01-12 20:47:01 +00:00
|
|
|
#include "../frontend/drivers/platform_wii.c"
|
2013-11-03 16:39:12 +00:00
|
|
|
#endif
|
2018-01-11 01:09:34 +00:00
|
|
|
#elif defined(__wiiu__)
|
|
|
|
#include "../frontend/drivers/platform_wiiu.c"
|
2015-09-02 11:07:13 +00:00
|
|
|
#elif defined(PSP) || defined(VITA)
|
2015-01-12 20:47:01 +00:00
|
|
|
#include "../frontend/drivers/platform_psp.c"
|
2015-04-01 21:14:13 +00:00
|
|
|
#elif defined(_3DS)
|
|
|
|
#include "../frontend/drivers/platform_ctr.c"
|
2015-09-04 18:45:02 +00:00
|
|
|
#elif defined(XENON)
|
|
|
|
#include "../frontend/drivers/platform_xenon.c"
|
2013-07-27 15:16:46 +00:00
|
|
|
#elif defined(__QNX__)
|
2015-01-12 20:47:01 +00:00
|
|
|
#include "../frontend/drivers/platform_qnx.c"
|
2017-06-19 15:38:49 +00:00
|
|
|
#elif defined(__linux__) || (defined(BSD) && !defined(__MACH__))
|
|
|
|
#include "../frontend/drivers/platform_unix.c"
|
2017-01-24 05:55:55 +00:00
|
|
|
#elif defined(DJGPP)
|
|
|
|
#include "../frontend/drivers/platform_dos.c"
|
2013-07-27 10:59:23 +00:00
|
|
|
#endif
|
2015-01-12 20:47:01 +00:00
|
|
|
#include "../frontend/drivers/platform_null.c"
|
2013-07-27 10:59:23 +00:00
|
|
|
|
2014-08-02 12:04:43 +00:00
|
|
|
#include "../core_info.c"
|
2014-03-01 10:53:04 +00:00
|
|
|
|
2015-04-11 23:31:03 +00:00
|
|
|
/*============================================================
|
|
|
|
UI
|
|
|
|
============================================================ */
|
|
|
|
#include "../ui/ui_companion_driver.c"
|
|
|
|
|
|
|
|
#include "../ui/drivers/ui_null.c"
|
2016-06-04 02:24:54 +00:00
|
|
|
#include "../ui/drivers/null/ui_null_window.c"
|
2016-06-08 13:47:00 +00:00
|
|
|
#include "../ui/drivers/null/ui_null_browser_window.c"
|
2016-06-08 04:29:52 +00:00
|
|
|
#include "../ui/drivers/null/ui_null_msg_window.c"
|
2016-06-07 14:31:35 +00:00
|
|
|
#include "../ui/drivers/null/ui_null_application.c"
|
2015-04-11 23:31:03 +00:00
|
|
|
|
2015-11-19 06:41:14 +00:00
|
|
|
#if defined(_WIN32) && !defined(_XBOX)
|
2015-11-19 06:26:24 +00:00
|
|
|
#include "../ui/drivers/ui_win32.c"
|
2017-10-02 05:18:11 +00:00
|
|
|
#include "../ui/drivers/win32/ui_win32_window.c"
|
2016-06-08 13:51:43 +00:00
|
|
|
#include "../ui/drivers/win32/ui_win32_browser_window.c"
|
2016-06-08 04:33:15 +00:00
|
|
|
#include "../ui/drivers/win32/ui_win32_msg_window.c"
|
2016-06-07 15:03:34 +00:00
|
|
|
#include "../ui/drivers/win32/ui_win32_application.c"
|
2015-11-19 06:26:24 +00:00
|
|
|
#endif
|
|
|
|
|
2012-04-13 23:02:37 +00:00
|
|
|
/*============================================================
|
|
|
|
MAIN
|
|
|
|
============================================================ */
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../frontend/frontend.c"
|
2013-02-25 06:29:09 +00:00
|
|
|
|
2015-04-16 18:23:06 +00:00
|
|
|
/*============================================================
|
|
|
|
GIT
|
|
|
|
============================================================ */
|
|
|
|
|
|
|
|
#ifdef HAVE_GIT_VERSION
|
2016-09-01 15:49:28 +00:00
|
|
|
#include "../version_git.c"
|
2015-04-16 18:23:06 +00:00
|
|
|
#endif
|
|
|
|
|
2015-05-05 15:58:37 +00:00
|
|
|
|
2012-04-13 23:02:37 +00:00
|
|
|
/*============================================================
|
2012-04-22 00:06:34 +00:00
|
|
|
RETROARCH
|
2012-04-13 23:02:37 +00:00
|
|
|
============================================================ */
|
2016-05-08 03:29:10 +00:00
|
|
|
#include "../core_impl.c"
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../retroarch.c"
|
2016-09-17 12:44:19 +00:00
|
|
|
#include "../dirs.c"
|
2016-09-17 10:10:46 +00:00
|
|
|
#include "../paths.c"
|
2016-02-09 17:13:47 +00:00
|
|
|
#include "../libretro-common/queues/task_queue.c"
|
2012-04-13 23:02:37 +00:00
|
|
|
|
2015-06-30 23:42:04 +00:00
|
|
|
#include "../msg_hash.c"
|
2016-06-07 04:28:33 +00:00
|
|
|
#ifdef HAVE_LANGEXTRA
|
2015-06-30 23:42:04 +00:00
|
|
|
#include "../intl/msg_hash_de.c"
|
|
|
|
#include "../intl/msg_hash_es.c"
|
|
|
|
#include "../intl/msg_hash_eo.c"
|
|
|
|
#include "../intl/msg_hash_fr.c"
|
|
|
|
#include "../intl/msg_hash_it.c"
|
2016-11-08 13:37:51 +00:00
|
|
|
#include "../intl/msg_hash_ja.c"
|
2017-03-04 16:36:08 +00:00
|
|
|
#include "../intl/msg_hash_ko.c"
|
2015-06-30 23:42:04 +00:00
|
|
|
#include "../intl/msg_hash_nl.c"
|
2017-04-07 18:56:30 +00:00
|
|
|
#include "../intl/msg_hash_pt_br.c"
|
|
|
|
#include "../intl/msg_hash_pt_pt.c"
|
2015-07-07 00:56:27 +00:00
|
|
|
#include "../intl/msg_hash_pl.c"
|
2016-02-24 18:19:03 +00:00
|
|
|
#include "../intl/msg_hash_ru.c"
|
2016-10-27 19:56:01 +00:00
|
|
|
#include "../intl/msg_hash_vn.c"
|
2016-10-29 04:50:52 +00:00
|
|
|
#include "../intl/msg_hash_chs.c"
|
2017-07-23 03:59:47 +00:00
|
|
|
#include "../intl/msg_hash_cht.c"
|
2018-02-05 19:54:55 +00:00
|
|
|
#include "../intl/msg_hash_ar.c"
|
2016-02-24 18:19:03 +00:00
|
|
|
#endif
|
2016-06-07 04:28:33 +00:00
|
|
|
|
|
|
|
#include "../intl/msg_hash_us.c"
|
2015-06-20 22:37:19 +00:00
|
|
|
|
2016-09-22 01:27:55 +00:00
|
|
|
/*============================================================
|
|
|
|
WIFI
|
|
|
|
============================================================ */
|
|
|
|
#include "../wifi/wifi_driver.c"
|
|
|
|
|
|
|
|
#include "../wifi/drivers/nullwifi.c"
|
|
|
|
|
|
|
|
#ifdef HAVE_LAKKA
|
|
|
|
#include "../wifi/drivers/connmanctl.c"
|
|
|
|
#endif
|
|
|
|
|
2014-08-12 03:28:43 +00:00
|
|
|
/*============================================================
|
|
|
|
RECORDING
|
|
|
|
============================================================ */
|
2014-08-13 06:07:30 +00:00
|
|
|
#include "../movie.c"
|
2015-01-12 20:55:41 +00:00
|
|
|
#include "../record/record_driver.c"
|
2015-04-15 11:37:38 +00:00
|
|
|
#include "../record/drivers/record_null.c"
|
2014-08-12 03:28:43 +00:00
|
|
|
|
2015-06-20 22:37:19 +00:00
|
|
|
#ifdef HAVE_FFMPEG
|
|
|
|
#include "../record/drivers/record_ffmpeg.c"
|
|
|
|
#endif
|
|
|
|
|
2012-04-13 23:02:37 +00:00
|
|
|
/*============================================================
|
|
|
|
THREAD
|
|
|
|
============================================================ */
|
2013-02-16 23:38:30 +00:00
|
|
|
#if defined(HAVE_THREADS) && defined(XENON)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../thread/xenon_sdl_threads.c"
|
2013-02-16 11:30:26 +00:00
|
|
|
#elif defined(HAVE_THREADS)
|
2017-12-26 22:45:09 +00:00
|
|
|
|
|
|
|
#if defined(PSP)
|
|
|
|
#include "../deps/pthreads/platform/helper/tls-helper.c"
|
|
|
|
#include "../deps/pthreads/platform/psp/psp_osal.c"
|
|
|
|
#include "../deps/pthreads/pte_main.c"
|
|
|
|
#include "../deps/pthreads/pte.c"
|
|
|
|
#include "../deps/pthreads/pthread_attr.c"
|
|
|
|
#include "../deps/pthreads/pthread_barrier.c"
|
|
|
|
#include "../deps/pthreads/pthread_cond.c"
|
|
|
|
#include "../deps/pthreads/pthread_condattr.c"
|
|
|
|
#include "../deps/pthreads/pthread_get.c"
|
|
|
|
#include "../deps/pthreads/pthread_key.c"
|
|
|
|
#include "../deps/pthreads/pthread_mutex.c"
|
|
|
|
#include "../deps/pthreads/pthread_mutexattr.c"
|
|
|
|
#include "../deps/pthreads/pthread_rwlock.c"
|
|
|
|
#include "../deps/pthreads/pthread_rwlockattr.c"
|
|
|
|
#include "../deps/pthreads/pthread_set.c"
|
|
|
|
#include "../deps/pthreads/pthread_spin.c"
|
|
|
|
#include "../deps/pthreads/pthread.c"
|
|
|
|
#include "../deps/pthreads/sched.c"
|
|
|
|
#include "../deps/pthreads/sem.c"
|
|
|
|
#endif
|
|
|
|
|
2015-02-18 23:04:03 +00:00
|
|
|
#include "../libretro-common/rthreads/rthreads.c"
|
2013-12-31 21:10:58 +00:00
|
|
|
#include "../gfx/video_thread_wrapper.c"
|
2014-10-01 21:27:52 +00:00
|
|
|
#include "../audio/audio_thread_wrapper.c"
|
2012-04-14 12:08:00 +00:00
|
|
|
#endif
|
2012-04-13 23:02:37 +00:00
|
|
|
|
2013-02-16 11:30:26 +00:00
|
|
|
|
2012-04-13 23:02:37 +00:00
|
|
|
/*============================================================
|
|
|
|
NETPLAY
|
|
|
|
============================================================ */
|
2016-09-29 19:07:10 +00:00
|
|
|
#ifdef HAVE_NETWORKING
|
2018-01-21 10:52:56 +00:00
|
|
|
#define JSON_STATIC 1 /* must come before netplay_room_parse and jsonsax_full */
|
2016-12-14 02:01:31 +00:00
|
|
|
#include "../network/netplay/netplay_delta.c"
|
2016-12-14 01:16:22 +00:00
|
|
|
#include "../network/netplay/netplay_frontend.c"
|
2016-12-14 02:01:31 +00:00
|
|
|
#include "../network/netplay/netplay_handshake.c"
|
2016-12-14 01:50:17 +00:00
|
|
|
#include "../network/netplay/netplay_init.c"
|
2016-12-14 01:42:53 +00:00
|
|
|
#include "../network/netplay/netplay_io.c"
|
2017-09-14 00:51:57 +00:00
|
|
|
#include "../network/netplay/netplay_keyboard.c"
|
2016-12-14 01:52:44 +00:00
|
|
|
#include "../network/netplay/netplay_sync.c"
|
2016-12-03 03:54:14 +00:00
|
|
|
#include "../network/netplay/netplay_discovery.c"
|
2016-12-14 02:01:31 +00:00
|
|
|
#include "../network/netplay/netplay_buf.c"
|
2017-03-05 03:14:22 +00:00
|
|
|
#include "../network/netplay/netplay_room_parse.c"
|
2015-03-20 16:56:00 +00:00
|
|
|
#include "../libretro-common/net/net_compat.c"
|
2016-05-01 19:18:45 +00:00
|
|
|
#include "../libretro-common/net/net_socket.c"
|
2015-03-20 16:56:00 +00:00
|
|
|
#include "../libretro-common/net/net_http.c"
|
2016-11-30 04:26:53 +00:00
|
|
|
#include "../libretro-common/net/net_natt.c"
|
2017-03-05 03:14:22 +00:00
|
|
|
#include "../libretro-common/formats/json/jsonsax_full.c"
|
2018-01-11 01:09:34 +00:00
|
|
|
#if !defined(HAVE_SOCKET_LEGACY) && !defined(__wiiu__)
|
2016-03-02 23:26:26 +00:00
|
|
|
#include "../libretro-common/net/net_ifinfo.c"
|
|
|
|
#endif
|
2015-05-05 15:36:58 +00:00
|
|
|
#include "../tasks/task_http.c"
|
2016-12-03 03:54:14 +00:00
|
|
|
#include "../tasks/task_netplay_lan_scan.c"
|
2017-02-21 00:08:31 +00:00
|
|
|
#include "../tasks/task_netplay_nat_traversal.c"
|
2016-11-30 16:37:32 +00:00
|
|
|
#include "../tasks/task_wifi.c"
|
2017-01-22 23:39:07 +00:00
|
|
|
#include "../tasks/task_netplay_find_content.c"
|
2012-04-14 12:08:00 +00:00
|
|
|
#endif
|
2012-04-13 23:02:37 +00:00
|
|
|
|
2015-05-05 15:58:37 +00:00
|
|
|
/*============================================================
|
|
|
|
DATA RUNLOOP
|
|
|
|
============================================================ */
|
2016-12-20 20:44:13 +00:00
|
|
|
#include "../tasks/task_powerstate.c"
|
2016-01-23 23:40:34 +00:00
|
|
|
#include "../tasks/task_content.c"
|
2016-09-19 00:57:23 +00:00
|
|
|
#include "../tasks/task_save.c"
|
2016-05-10 07:33:11 +00:00
|
|
|
#include "../tasks/task_image.c"
|
2015-05-05 15:58:37 +00:00
|
|
|
#include "../tasks/task_file_transfer.c"
|
2015-11-27 22:54:08 +00:00
|
|
|
#ifdef HAVE_ZLIB
|
|
|
|
#include "../tasks/task_decompress.c"
|
|
|
|
#endif
|
2015-05-05 16:05:59 +00:00
|
|
|
#ifdef HAVE_LIBRETRODB
|
|
|
|
#include "../tasks/task_database.c"
|
2015-09-16 20:39:47 +00:00
|
|
|
#include "../tasks/task_database_cue.c"
|
2015-05-05 16:05:59 +00:00
|
|
|
#endif
|
2015-05-05 15:58:37 +00:00
|
|
|
|
2012-08-20 01:30:09 +00:00
|
|
|
/*============================================================
|
|
|
|
SCREENSHOTS
|
|
|
|
============================================================ */
|
2016-05-17 12:31:33 +00:00
|
|
|
#include "../tasks/task_screenshot.c"
|
2014-07-25 18:56:31 +00:00
|
|
|
|
|
|
|
/*============================================================
|
2014-08-15 15:24:28 +00:00
|
|
|
PLAYLISTS
|
2014-07-25 18:56:31 +00:00
|
|
|
============================================================ */
|
2014-08-15 15:24:28 +00:00
|
|
|
#include "../playlist.c"
|
2014-07-25 18:56:31 +00:00
|
|
|
|
2012-04-13 23:02:37 +00:00
|
|
|
/*============================================================
|
|
|
|
MENU
|
|
|
|
============================================================ */
|
2013-04-18 13:04:09 +00:00
|
|
|
#ifdef HAVE_MENU
|
2015-12-06 16:55:27 +00:00
|
|
|
#include "../menu/menu_driver.c"
|
2015-06-15 04:25:41 +00:00
|
|
|
#include "../menu/menu_input.c"
|
2016-09-16 14:39:30 +00:00
|
|
|
#include "../menu/menu_event.c"
|
2015-06-12 14:07:12 +00:00
|
|
|
#include "../menu/menu_entries.c"
|
2015-02-14 00:51:28 +00:00
|
|
|
#include "../menu/menu_setting.c"
|
2015-06-12 14:01:46 +00:00
|
|
|
#include "../menu/menu_cbs.c"
|
2016-01-25 03:32:52 +00:00
|
|
|
#include "../menu/menu_content.c"
|
2017-12-14 18:29:36 +00:00
|
|
|
|
2017-12-13 02:35:12 +00:00
|
|
|
#include "../menu/menu_networking.c"
|
2017-12-14 18:29:36 +00:00
|
|
|
|
2016-09-14 22:20:43 +00:00
|
|
|
#include "../menu/widgets/menu_entry.c"
|
2016-12-16 07:59:05 +00:00
|
|
|
#include "../menu/widgets/menu_filebrowser.c"
|
2016-09-15 13:57:25 +00:00
|
|
|
#include "../menu/widgets/menu_dialog.c"
|
2016-09-15 17:23:32 +00:00
|
|
|
#include "../menu/widgets/menu_input_dialog.c"
|
2016-09-15 18:35:39 +00:00
|
|
|
#include "../menu/widgets/menu_input_bind_dialog.c"
|
2017-01-12 10:31:24 +00:00
|
|
|
#include "../menu/widgets/menu_osk.c"
|
2015-06-12 14:01:46 +00:00
|
|
|
#include "../menu/cbs/menu_cbs_ok.c"
|
|
|
|
#include "../menu/cbs/menu_cbs_cancel.c"
|
|
|
|
#include "../menu/cbs/menu_cbs_select.c"
|
|
|
|
#include "../menu/cbs/menu_cbs_start.c"
|
|
|
|
#include "../menu/cbs/menu_cbs_info.c"
|
|
|
|
#include "../menu/cbs/menu_cbs_refresh.c"
|
|
|
|
#include "../menu/cbs/menu_cbs_left.c"
|
|
|
|
#include "../menu/cbs/menu_cbs_right.c"
|
|
|
|
#include "../menu/cbs/menu_cbs_title.c"
|
|
|
|
#include "../menu/cbs/menu_cbs_deferred_push.c"
|
|
|
|
#include "../menu/cbs/menu_cbs_scan.c"
|
|
|
|
#include "../menu/cbs/menu_cbs_get_value.c"
|
2016-07-08 14:24:05 +00:00
|
|
|
#include "../menu/cbs/menu_cbs_label.c"
|
2016-10-20 13:57:35 +00:00
|
|
|
#include "../menu/cbs/menu_cbs_sublabel.c"
|
2015-06-12 14:01:46 +00:00
|
|
|
#include "../menu/cbs/menu_cbs_up.c"
|
|
|
|
#include "../menu/cbs/menu_cbs_down.c"
|
|
|
|
#include "../menu/cbs/menu_cbs_contentlist_switch.c"
|
2014-10-28 18:54:23 +00:00
|
|
|
#include "../menu/menu_shader.c"
|
2015-05-11 09:11:23 +00:00
|
|
|
#include "../menu/menu_displaylist.c"
|
2014-10-28 18:54:23 +00:00
|
|
|
#include "../menu/menu_animation.c"
|
2015-03-09 13:39:39 +00:00
|
|
|
|
|
|
|
#include "../menu/drivers/null.c"
|
2015-10-03 01:15:47 +00:00
|
|
|
#include "../menu/drivers/menu_generic.c"
|
2015-11-08 22:20:46 +00:00
|
|
|
|
|
|
|
#include "../menu/drivers_display/menu_display_null.c"
|
|
|
|
|
2018-03-03 14:28:58 +00:00
|
|
|
#if defined(HAVE_D3D8)
|
|
|
|
#include "../menu/drivers_display/menu_display_d3d8.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(HAVE_D3D9)
|
|
|
|
#include "../menu/drivers_display/menu_display_d3d9.c"
|
2017-10-02 17:04:49 +00:00
|
|
|
#endif
|
|
|
|
|
2018-01-24 23:20:06 +00:00
|
|
|
#if defined(HAVE_D3D11)
|
|
|
|
#include "../menu/drivers_display/menu_display_d3d11.c"
|
|
|
|
#endif
|
|
|
|
|
2018-02-07 23:17:09 +00:00
|
|
|
#if defined(HAVE_D3D12)
|
|
|
|
#include "../menu/drivers_display/menu_display_d3d12.c"
|
|
|
|
#endif
|
|
|
|
|
2015-11-08 22:20:46 +00:00
|
|
|
#ifdef HAVE_OPENGL
|
|
|
|
#include "../menu/drivers_display/menu_display_gl.c"
|
|
|
|
#endif
|
|
|
|
|
2016-02-17 04:22:17 +00:00
|
|
|
#ifdef HAVE_VULKAN
|
|
|
|
#include "../menu/drivers_display/menu_display_vulkan.c"
|
|
|
|
#endif
|
|
|
|
|
2016-08-23 00:49:53 +00:00
|
|
|
#ifdef HAVE_VITA2D
|
|
|
|
#include "../menu/drivers_display/menu_display_vita2d.c"
|
|
|
|
#endif
|
|
|
|
|
2016-09-29 19:14:12 +00:00
|
|
|
#ifdef _3DS
|
|
|
|
#include "../menu/drivers_display/menu_display_ctr.c"
|
|
|
|
#endif
|
|
|
|
|
2017-05-22 00:45:40 +00:00
|
|
|
#ifdef WIIU
|
|
|
|
#include "../menu/drivers_display/menu_display_wiiu.c"
|
|
|
|
#endif
|
|
|
|
|
2016-12-01 17:13:36 +00:00
|
|
|
#ifdef HAVE_CACA
|
|
|
|
#include "../menu/drivers_display/menu_display_caca.c"
|
|
|
|
#endif
|
|
|
|
|
2017-01-21 22:41:20 +00:00
|
|
|
#ifdef DJGPP
|
|
|
|
#include "../menu/drivers_display/menu_display_vga.c"
|
|
|
|
#endif
|
|
|
|
|
2017-01-04 07:07:19 +00:00
|
|
|
#if defined(_WIN32) && !defined(_XBOX)
|
|
|
|
#include "../menu/drivers_display/menu_display_gdi.c"
|
|
|
|
#endif
|
|
|
|
|
2014-04-14 00:32:54 +00:00
|
|
|
#endif
|
|
|
|
|
2016-02-17 04:22:17 +00:00
|
|
|
|
2014-02-26 20:10:17 +00:00
|
|
|
#ifdef HAVE_RGUI
|
2015-01-26 09:54:13 +00:00
|
|
|
#include "../menu/drivers/rgui.c"
|
2014-02-26 20:10:17 +00:00
|
|
|
#endif
|
|
|
|
|
2018-01-11 01:09:34 +00:00
|
|
|
#if defined(HAVE_OPENGL) || defined(HAVE_VITA2D) || defined(_3DS) || defined(_MSC_VER) || defined(__wiiu__)
|
2014-10-09 03:14:41 +00:00
|
|
|
#ifdef HAVE_XMB
|
2015-01-26 09:54:13 +00:00
|
|
|
#include "../menu/drivers/xmb.c"
|
2014-02-26 20:10:17 +00:00
|
|
|
#endif
|
|
|
|
|
2015-11-02 22:23:54 +00:00
|
|
|
#ifdef HAVE_MATERIALUI
|
2015-11-02 19:46:22 +00:00
|
|
|
#include "../menu/drivers/materialui.c"
|
2014-09-13 04:25:41 +00:00
|
|
|
#endif
|
|
|
|
|
2016-04-25 12:58:47 +00:00
|
|
|
#ifdef HAVE_NUKLEAR
|
2016-05-25 23:45:35 +00:00
|
|
|
#include "../menu/drivers/nuklear/nk_common.c"
|
|
|
|
#include "../menu/drivers/nuklear/nk_menu.c"
|
2017-07-09 22:07:59 +00:00
|
|
|
#include "../menu/drivers/nuklear/nk_wnd_debug.c"
|
2016-04-25 12:58:47 +00:00
|
|
|
#include "../menu/drivers/nuklear.c"
|
2016-02-14 19:10:06 +00:00
|
|
|
#endif
|
|
|
|
|
2015-10-02 00:15:23 +00:00
|
|
|
#ifdef HAVE_ZARCH
|
|
|
|
#include "../menu/drivers/zarch.c"
|
|
|
|
#endif
|
|
|
|
|
2014-09-13 04:25:41 +00:00
|
|
|
#endif
|
|
|
|
|
2016-06-07 13:23:07 +00:00
|
|
|
#ifdef HAVE_NETWORKGAMEPAD
|
2016-05-09 15:37:29 +00:00
|
|
|
#include "../input/input_remote.c"
|
2016-05-26 17:43:15 +00:00
|
|
|
#include "../cores/libretro-net-retropad/net_retropad_core.c"
|
2017-09-08 03:30:42 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_KEYMAPPER
|
|
|
|
#include "../input/input_mapper.c"
|
2015-11-26 04:20:08 +00:00
|
|
|
#endif
|
|
|
|
|
2016-05-09 18:30:47 +00:00
|
|
|
#include "../command.c"
|
2015-04-13 09:15:40 +00:00
|
|
|
|
2017-01-02 01:04:10 +00:00
|
|
|
#if defined(HAVE_NETWORKING)
|
|
|
|
#include "../libretro-common/net/net_http_parse.c"
|
|
|
|
#endif
|
|
|
|
|
2018-03-28 19:22:07 +00:00
|
|
|
#include "../runahead/mem_util.c"
|
|
|
|
#include "../runahead/secondary_core.c"
|
|
|
|
#include "../runahead/run_ahead.c"
|
|
|
|
#include "../runahead/copy_load_info.c"
|
|
|
|
#include "../runahead/dirty_input.c"
|
|
|
|
#include "../runahead/mylist.c"
|
|
|
|
|
2012-11-19 04:43:57 +00:00
|
|
|
/*============================================================
|
2014-09-02 17:41:43 +00:00
|
|
|
DEPENDENCIES
|
2012-11-19 04:43:57 +00:00
|
|
|
============================================================ */
|
2015-03-14 04:24:57 +00:00
|
|
|
#ifdef WANT_ZLIB
|
2017-03-25 09:05:33 +00:00
|
|
|
#include "../deps/libz/adler32.c"
|
|
|
|
#include "../deps/libz/compress.c"
|
|
|
|
#include "../deps/libz/crc32.c"
|
|
|
|
#include "../deps/libz/deflate.c"
|
|
|
|
#include "../deps/libz/gzclose.c"
|
|
|
|
#include "../deps/libz/gzlib.c"
|
|
|
|
#include "../deps/libz/gzread.c"
|
|
|
|
#include "../deps/libz/gzwrite.c"
|
|
|
|
#include "../deps/libz/inffast.c"
|
|
|
|
#include "../deps/libz/inflate.c"
|
|
|
|
#include "../deps/libz/inftrees.c"
|
|
|
|
#include "../deps/libz/trees.c"
|
|
|
|
#include "../deps/libz/uncompr.c"
|
|
|
|
#include "../deps/libz/zutil.c"
|
2014-09-12 19:25:08 +00:00
|
|
|
#endif
|
|
|
|
|
2017-09-18 10:27:11 +00:00
|
|
|
#ifdef HAVE_FLAC
|
|
|
|
#include "../deps/libFLAC/bitmath.c"
|
|
|
|
#include "../deps/libFLAC/bitreader.c"
|
|
|
|
#include "../deps/libFLAC/cpu.c"
|
|
|
|
#include "../deps/libFLAC/crc.c"
|
|
|
|
#include "../deps/libFLAC/fixed.c"
|
|
|
|
#include "../deps/libFLAC/float.c"
|
|
|
|
#include "../deps/libFLAC/format.c"
|
|
|
|
#include "../deps/libFLAC/lpc.c"
|
|
|
|
#include "../deps/libFLAC/lpc_intrin_avx2.c"
|
|
|
|
#include "../deps/libFLAC/lpc_intrin_sse2.c"
|
|
|
|
#include "../deps/libFLAC/lpc_intrin_sse41.c"
|
|
|
|
#include "../deps/libFLAC/lpc_intrin_sse.c"
|
|
|
|
#include "../deps/libFLAC/md5.c"
|
|
|
|
#include "../deps/libFLAC/memory.c"
|
|
|
|
#include "../deps/libFLAC/stream_decoder.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_CHD
|
2017-09-21 17:37:05 +00:00
|
|
|
#include "../libretro-common/formats/libchdr/bitstream.c"
|
|
|
|
#include "../libretro-common/formats/libchdr/cdrom.c"
|
|
|
|
#include "../libretro-common/formats/libchdr/chd.c"
|
|
|
|
#include "../libretro-common/formats/libchdr/flac.c"
|
|
|
|
#include "../libretro-common/formats/libchdr/huffman.c"
|
2017-09-18 10:27:11 +00:00
|
|
|
|
|
|
|
#include "../libretro-common/streams/chd_stream.c"
|
|
|
|
#endif
|
|
|
|
|
2014-09-02 17:41:43 +00:00
|
|
|
#ifdef HAVE_7ZIP
|
2014-09-02 19:45:14 +00:00
|
|
|
#include "../deps/7zip/7zIn.c"
|
|
|
|
#include "../deps/7zip/Bra86.c"
|
|
|
|
#include "../deps/7zip/7zFile.c"
|
|
|
|
#include "../deps/7zip/7zStream.c"
|
|
|
|
#include "../deps/7zip/LzmaDec.c"
|
2017-09-21 17:37:40 +00:00
|
|
|
#include "../deps/7zip/LzmaEnc.c"
|
2014-09-02 19:45:14 +00:00
|
|
|
#include "../deps/7zip/7zCrcOpt.c"
|
|
|
|
#include "../deps/7zip/Bra.c"
|
|
|
|
#include "../deps/7zip/7zDec.c"
|
|
|
|
#include "../deps/7zip/Bcj2.c"
|
|
|
|
#include "../deps/7zip/7zCrc.c"
|
|
|
|
#include "../deps/7zip/Lzma2Dec.c"
|
2017-09-21 17:37:40 +00:00
|
|
|
#include "../deps/7zip/LzFind.c"
|
2014-09-02 19:45:14 +00:00
|
|
|
#include "../deps/7zip/7zBuf.c"
|
2014-09-02 17:41:43 +00:00
|
|
|
#endif
|
|
|
|
|
2012-11-20 03:15:12 +00:00
|
|
|
/*============================================================
|
2013-01-02 14:23:22 +00:00
|
|
|
XML
|
|
|
|
============================================================ */
|
2014-12-15 20:34:22 +00:00
|
|
|
#if 0
|
2014-01-22 11:39:28 +00:00
|
|
|
#ifndef HAVE_LIBXML2
|
2018-01-21 10:52:56 +00:00
|
|
|
#define RXML_LIBXML2_COMPAT 1
|
2015-02-18 23:04:03 +00:00
|
|
|
#include "../libretro-common/formats/xml/rxml.c"
|
2014-01-22 11:39:28 +00:00
|
|
|
#endif
|
2014-12-15 20:34:22 +00:00
|
|
|
#endif
|
|
|
|
|
2014-05-22 20:00:59 +00:00
|
|
|
/*============================================================
|
|
|
|
AUDIO UTILS
|
|
|
|
============================================================ */
|
2016-12-12 12:35:17 +00:00
|
|
|
#include "../libretro-common/audio/conversion/s16_to_float.c"
|
|
|
|
#include "../libretro-common/audio/conversion/float_to_s16.c"
|
2017-01-23 23:29:40 +00:00
|
|
|
#include "../libretro-common/audio/audio_mix.c"
|
2012-11-20 03:15:12 +00:00
|
|
|
|
2014-12-30 20:12:43 +00:00
|
|
|
/*============================================================
|
2015-01-19 21:47:09 +00:00
|
|
|
LIBRETRODB
|
2014-12-30 20:12:43 +00:00
|
|
|
============================================================ */
|
2015-01-22 02:58:04 +00:00
|
|
|
#ifdef HAVE_LIBRETRODB
|
2015-02-18 23:47:19 +00:00
|
|
|
#include "../libretro-db/bintree.c"
|
|
|
|
#include "../libretro-db/libretrodb.c"
|
|
|
|
#include "../libretro-db/rmsgpack.c"
|
|
|
|
#include "../libretro-db/rmsgpack_dom.c"
|
|
|
|
#include "../libretro-db/query.c"
|
2015-01-27 17:09:19 +00:00
|
|
|
#include "../database_info.c"
|
2015-01-22 02:58:04 +00:00
|
|
|
#endif
|
2014-12-30 20:12:43 +00:00
|
|
|
|
2017-02-15 20:03:57 +00:00
|
|
|
#if defined(HAVE_BUILTINMINIUPNPC)
|
|
|
|
#include "../deps/miniupnpc/igd_desc_parse.c"
|
|
|
|
#include "../deps/miniupnpc/upnpreplyparse.c"
|
|
|
|
#include "../deps/miniupnpc/upnpcommands.c"
|
|
|
|
#include "../deps/miniupnpc/upnperrors.c"
|
|
|
|
#include "../deps/miniupnpc/connecthostport.c"
|
|
|
|
#include "../deps/miniupnpc/portlistingparse.c"
|
|
|
|
#include "../deps/miniupnpc/receivedata.c"
|
|
|
|
#include "../deps/miniupnpc/upnpdev.c"
|
|
|
|
#include "../deps/miniupnpc/minissdpc.c"
|
|
|
|
#include "../deps/miniupnpc/miniwget.c"
|
|
|
|
#include "../deps/miniupnpc/miniupnpc.c"
|
|
|
|
#include "../deps/miniupnpc/minixml.c"
|
|
|
|
#include "../deps/miniupnpc/minisoap.c"
|
|
|
|
#endif
|
|
|
|
|
2016-07-31 21:45:01 +00:00
|
|
|
/*============================================================
|
|
|
|
HTTP SERVER
|
|
|
|
============================================================ */
|
|
|
|
#if defined(HAVE_HTTPSERVER) && defined(HAVE_ZLIB)
|
2016-09-11 12:37:29 +00:00
|
|
|
#include "../deps/civetweb/civetweb.c"
|
2016-09-12 15:21:00 +00:00
|
|
|
#include "network/httpserver/httpserver.c"
|
2016-07-31 21:45:01 +00:00
|
|
|
#endif
|