2012-04-21 23:13:50 +02:00
|
|
|
/* RetroArch - A frontend for libretro.
|
2014-01-01 01:50:59 +01:00
|
|
|
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
|
2017-01-22 13:40:32 +01:00
|
|
|
* Copyright (C) 2011-2017 - Daniel De Matteis
|
2012-04-14 01:02:37 +02:00
|
|
|
*
|
2012-04-21 23:13:50 +02:00
|
|
|
* RetroArch is free software: you can redistribute it and/or modify it under the terms
|
2012-04-14 01:02:37 +02: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 23:13:50 +02:00
|
|
|
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
2012-04-14 01:02:37 +02: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 23:31:57 +02:00
|
|
|
* You should have received a copy of the GNU General Public License along with RetroArch.
|
2012-04-14 01:02:37 +02:00
|
|
|
* If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2014-05-08 21:49:18 +02:00
|
|
|
#if defined(HAVE_CG) || defined(HAVE_HLSL) || defined(HAVE_GLSL)
|
|
|
|
#define HAVE_SHADERS
|
|
|
|
#endif
|
|
|
|
|
2014-09-12 21:25:08 +02:00
|
|
|
#if defined(HAVE_ZLIB) || defined(HAVE_7ZIP)
|
|
|
|
#define HAVE_COMPRESSION
|
|
|
|
#endif
|
|
|
|
|
2014-10-21 08:02:40 +02:00
|
|
|
#include <compat/posix_string.h>
|
2012-04-14 01:02:37 +02:00
|
|
|
|
2016-03-20 04:52:15 +01:00
|
|
|
#if _MSC_VER
|
|
|
|
#include "../libretro-common/compat/compat_snprintf.c"
|
|
|
|
#endif
|
|
|
|
|
2015-11-23 12:03:38 +01:00
|
|
|
#include "../verbosity.c"
|
2016-03-20 04:52:15 +01:00
|
|
|
|
2015-08-29 16:24:38 +02:00
|
|
|
#if defined(HAVE_LOGGER) && !defined(ANDROID)
|
2016-05-19 11:46:54 +02:00
|
|
|
#include "../network/net_logger.c"
|
2015-08-29 16:24:38 +02:00
|
|
|
#endif
|
|
|
|
|
2012-11-25 05:41:12 +01:00
|
|
|
/*============================================================
|
2013-03-18 05:46:19 +01:00
|
|
|
CONSOLE EXTENSIONS
|
2012-11-25 05:41:12 +01:00
|
|
|
============================================================ */
|
2013-03-18 05:46:19 +01:00
|
|
|
#ifdef RARCH_CONSOLE
|
2012-11-25 05:41:12 +01:00
|
|
|
|
2012-09-03 18:05:23 -04:00
|
|
|
#ifdef HW_DOL
|
2015-09-20 14:54:41 +02:00
|
|
|
#include "../memory/ngc/ssaram.c"
|
2012-09-03 18:05:23 -04:00
|
|
|
#endif
|
|
|
|
|
2013-01-11 22:27:31 +01:00
|
|
|
#endif
|
2012-04-14 01:02:37 +02:00
|
|
|
|
2016-05-16 10:27:20 +02:00
|
|
|
/*============================================================
|
|
|
|
ALGORITHMS
|
|
|
|
============================================================ */
|
|
|
|
|
2016-03-20 16:14:40 +01:00
|
|
|
/*============================================================
|
|
|
|
ARCHIVE FILE
|
|
|
|
============================================================ */
|
2016-09-18 16:49:09 +02:00
|
|
|
#include "../libretro-common/file/archive_file.c"
|
2016-03-20 16:14:40 +01:00
|
|
|
|
2013-01-11 22:46:14 +01:00
|
|
|
#ifdef HAVE_ZLIB
|
2016-03-20 16:14:40 +01:00
|
|
|
#include "../libretro-common/file/archive_file_zlib.c"
|
2012-11-03 08:42:33 +01:00
|
|
|
#endif
|
|
|
|
|
2016-09-18 16:49:09 +02:00
|
|
|
#ifdef HAVE_7ZIP
|
|
|
|
#include "../libretro-common/file/archive_file_7z.c"
|
|
|
|
#endif
|
|
|
|
|
2016-11-26 16:11:42 -05:00
|
|
|
/*============================================================
|
|
|
|
COMPRESSION
|
|
|
|
============================================================ */
|
|
|
|
#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 07:26:02 +01:00
|
|
|
/*============================================================
|
|
|
|
ENCODINGS
|
|
|
|
============================================================ */
|
|
|
|
#include "../libretro-common/encodings/encoding_utf.c"
|
2016-09-18 18:50:33 +02:00
|
|
|
#include "../libretro-common/encodings/encoding_crc32.c"
|
2015-11-16 07:26:02 +01:00
|
|
|
|
2012-11-03 08:42:33 +01:00
|
|
|
/*============================================================
|
|
|
|
PERFORMANCE
|
|
|
|
============================================================ */
|
2016-05-10 20:31:27 +02:00
|
|
|
#include "../libretro-common/features/features_cpu.c"
|
2016-05-10 08:53:14 +02:00
|
|
|
#include "../performance_counters.c"
|
2012-11-03 08:42:33 +01:00
|
|
|
|
2012-04-14 01:02:37 +02:00
|
|
|
/*============================================================
|
|
|
|
COMPATIBILITY
|
|
|
|
============================================================ */
|
2015-10-26 02:41:41 +01:00
|
|
|
#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
|
|
|
|
|
2015-11-01 18:52:41 +01:00
|
|
|
#if defined(_WIN32) && !defined(_XBOX)
|
|
|
|
#include "../compat/compat_posix_string.c"
|
|
|
|
#endif
|
|
|
|
|
2016-03-03 02:08:47 +01:00
|
|
|
#if defined(WANT_IFADDRS)
|
|
|
|
#include "../compat/compat_ifaddrs.c"
|
|
|
|
#endif
|
|
|
|
|
2015-02-19 00:04:03 +01:00
|
|
|
#include "../libretro-common/compat/compat_fnmatch.c"
|
2015-09-02 17:06:02 +02:00
|
|
|
#include "../libretro-common/memmap/memalign.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
CONFIG FILE
|
|
|
|
============================================================ */
|
2014-09-14 06:29:40 +02:00
|
|
|
#if defined(_MSC_VER)
|
2014-10-21 06:55:26 +02:00
|
|
|
#undef __LIBRETRO_SDK_COMPAT_POSIX_STRING_H
|
|
|
|
#undef __LIBRETRO_SDK_COMPAT_MSVC_H
|
2012-04-14 01:02:37 +02:00
|
|
|
#undef strcasecmp
|
|
|
|
#endif
|
2012-05-28 05:21:19 +02:00
|
|
|
|
2015-02-19 00:04:03 +01:00
|
|
|
#include "../libretro-common/file/config_file.c"
|
2016-12-12 12:36:46 +01:00
|
|
|
#include "../libretro-common/file/config_file_userdata.c"
|
2017-02-24 06:29:13 +01:00
|
|
|
#include "../managers/core_manager.c"
|
2016-05-10 01:25:47 +02:00
|
|
|
#include "../managers/core_option_manager.c"
|
2013-06-24 13:52:14 +02:00
|
|
|
|
2015-10-09 15:29:50 -03:00
|
|
|
/*============================================================
|
|
|
|
ACHIEVEMENTS
|
|
|
|
============================================================ */
|
2015-10-27 15:50:41 -02:00
|
|
|
#if defined(HAVE_CHEEVOS) && defined(HAVE_THREADS)
|
2016-09-29 21:07:10 +02:00
|
|
|
#if !defined(HAVE_NETWORKING)
|
2015-10-14 00:12:01 -03:00
|
|
|
#include "../libretro-common/net/net_http.c"
|
|
|
|
#endif
|
|
|
|
|
2015-10-09 15:29:50 -03:00
|
|
|
#include "../libretro-common/formats/json/jsonsax.c"
|
2016-05-09 17:47:45 +02:00
|
|
|
#include "../network/net_http_special.c"
|
2017-02-03 10:03:57 +00:00
|
|
|
#include "../cheevos/cheevos.c"
|
2015-10-17 09:56:23 +01:00
|
|
|
#endif
|
2015-10-09 15:29:50 -03:00
|
|
|
|
2016-08-30 23:27:47 +01:00
|
|
|
/*============================================================
|
|
|
|
MD5
|
|
|
|
============================================================ */
|
|
|
|
#if (defined(HAVE_CHEEVOS) && defined(HAVE_THREADS)) || (defined(HAVE_HTTPSERVER) && defined(HAVE_ZLIB))
|
|
|
|
#include "../libretro-common/utils/md5.c"
|
|
|
|
#endif
|
|
|
|
|
2015-10-27 15:50:41 -02:00
|
|
|
/*============================================================
|
|
|
|
CHEATS
|
|
|
|
============================================================ */
|
2016-05-09 18:20:52 +02:00
|
|
|
#include "../managers/cheat_manager.c"
|
2015-10-27 15:50:41 -02:00
|
|
|
#include "../libretro-common/hash/rhash.c"
|
|
|
|
|
2012-04-14 01:02:37 +02:00
|
|
|
/*============================================================
|
2012-05-28 05:19:04 +02:00
|
|
|
VIDEO CONTEXT
|
2012-04-14 01:02:37 +02:00
|
|
|
============================================================ */
|
2012-05-27 04:02:07 +02:00
|
|
|
|
2015-01-12 21:53:04 +01:00
|
|
|
#include "../gfx/video_context_driver.c"
|
2015-01-12 22:19:31 +01:00
|
|
|
#include "../gfx/drivers_context/gfx_null_ctx.c"
|
2012-05-28 01:15:00 +02:00
|
|
|
|
2013-01-09 05:54:48 +01:00
|
|
|
#if defined(__CELLOS_LV2__)
|
2015-01-12 22:19:31 +01:00
|
|
|
#include "../gfx/drivers_context/ps3_ctx.c"
|
2012-11-03 08:42:33 +01:00
|
|
|
#elif defined(ANDROID)
|
2016-03-01 04:18:43 +01:00
|
|
|
#include "../gfx/drivers_context/android_ctx.c"
|
2014-05-20 02:48:11 +02:00
|
|
|
#elif defined(__QNX__)
|
2017-01-07 21:37:05 +00:00
|
|
|
#include "../gfx/drivers_context/qnx_ctx.c"
|
2013-11-17 23:21:40 +01:00
|
|
|
#elif defined(EMSCRIPTEN)
|
2015-01-12 22:19:31 +01:00
|
|
|
#include "../gfx/drivers_context/emscriptenegl_ctx.c"
|
2015-04-26 03:59:55 +02:00
|
|
|
#elif defined(__APPLE__) && !defined(TARGET_IPHONE_SIMULATOR) && !defined(TARGET_OS_IPHONE)
|
2015-04-26 03:48:35 +02:00
|
|
|
#include "../gfx/drivers_context/cgl_ctx.c"
|
2012-05-27 22:58:14 +02:00
|
|
|
#endif
|
|
|
|
|
2016-09-03 07:10:55 +02:00
|
|
|
|
2016-03-01 22:25:53 +01: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 05:22:17 +01:00
|
|
|
#ifdef HAVE_WAYLAND
|
|
|
|
#include "../gfx/drivers_context/wayland_ctx.c"
|
|
|
|
#endif
|
|
|
|
|
2015-11-26 17:12:06 +01:00
|
|
|
#ifdef HAVE_DRM
|
|
|
|
#include "../gfx/common/drm_common.c"
|
|
|
|
#endif
|
2013-07-28 19:55:18 +02:00
|
|
|
|
2016-02-17 05:22:17 +01:00
|
|
|
#ifdef HAVE_VULKAN
|
|
|
|
#include "../gfx/common/vulkan_common.c"
|
2016-06-26 13:10:19 +02:00
|
|
|
#include "../libretro-common/vulkan/vulkan_symbol_wrapper.c"
|
2016-08-27 16:48:13 -07:00
|
|
|
#ifdef HAVE_VULKAN_DISPLAY
|
2016-07-07 22:03:30 +02:00
|
|
|
#include "../gfx/drivers_context/khr_display_ctx.c"
|
|
|
|
#endif
|
2016-02-17 05:22:17 +01:00
|
|
|
#endif
|
|
|
|
|
2013-07-07 21:25:22 +02:00
|
|
|
#if defined(HAVE_KMS)
|
2016-02-22 13:01:16 +01:00
|
|
|
#include "../gfx/drivers_context/drm_ctx.c"
|
2013-07-07 21:25:22 +02:00
|
|
|
#endif
|
2016-02-22 13:01:16 +01:00
|
|
|
|
|
|
|
#if defined(HAVE_EGL)
|
|
|
|
#include "../gfx/common/egl_common.c"
|
|
|
|
|
2013-07-07 21:17:58 +02:00
|
|
|
#if defined(HAVE_VIDEOCORE)
|
2015-01-12 22:19:31 +01:00
|
|
|
#include "../gfx/drivers_context/vc_egl_ctx.c"
|
2012-05-27 22:58:14 +02:00
|
|
|
#endif
|
2014-09-14 06:15:24 +02:00
|
|
|
|
2013-07-07 21:17:58 +02:00
|
|
|
#endif
|
|
|
|
|
2015-04-16 22:39:28 +02:00
|
|
|
#if defined(HAVE_X11)
|
2015-04-09 05:02:57 +02:00
|
|
|
#include "../gfx/common/x11_common.c"
|
2017-03-24 00:12:21 +01:00
|
|
|
#include "../gfx/common/dbus_common.c"
|
2017-03-23 19:59:11 +01:00
|
|
|
#include "../gfx/common/xinerama_common.c"
|
2015-04-16 22:39:28 +02:00
|
|
|
|
|
|
|
#ifndef HAVE_OPENGLES
|
2016-02-20 05:48:45 +01:00
|
|
|
#include "../gfx/drivers_context/x_ctx.c"
|
2015-04-16 22:39:28 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_EGL
|
|
|
|
#include "../gfx/drivers_context/xegl_ctx.c"
|
|
|
|
#endif
|
|
|
|
|
2013-07-07 21:25:22 +02:00
|
|
|
#endif
|
|
|
|
|
2012-05-28 05:19:04 +02:00
|
|
|
/*============================================================
|
|
|
|
VIDEO SHADERS
|
|
|
|
============================================================ */
|
2014-10-02 13:27:35 +02:00
|
|
|
|
2014-05-08 21:49:18 +02:00
|
|
|
#ifdef HAVE_SHADERS
|
2015-01-12 21:41:27 +01:00
|
|
|
#include "../gfx/video_shader_driver.c"
|
2015-01-12 23:42:50 +01:00
|
|
|
#include "../gfx/video_shader_parse.c"
|
|
|
|
|
2015-01-12 22:23:48 +01:00
|
|
|
#include "../gfx/drivers_shader/shader_null.c"
|
2013-04-06 11:30:56 +02:00
|
|
|
|
2012-05-27 22:58:14 +02:00
|
|
|
#ifdef HAVE_CG
|
2014-10-02 15:19:21 +02:00
|
|
|
#ifdef HAVE_OPENGL
|
2015-01-12 22:23:48 +01:00
|
|
|
#include "../gfx/drivers_shader/shader_gl_cg.c"
|
2014-10-02 15:19:21 +02:00
|
|
|
#endif
|
2012-05-27 22:39:29 +02:00
|
|
|
#endif
|
|
|
|
|
2012-05-28 00:37:54 +02:00
|
|
|
#ifdef HAVE_HLSL
|
2015-01-12 22:23:48 +01:00
|
|
|
#include "../gfx/drivers_shader/shader_hlsl.c"
|
2012-05-28 00:37:54 +02:00
|
|
|
#endif
|
|
|
|
|
2012-07-01 22:46:25 +02:00
|
|
|
#ifdef HAVE_GLSL
|
2015-01-12 22:23:48 +01:00
|
|
|
#include "../gfx/drivers_shader/shader_glsl.c"
|
2012-07-01 22:46:25 +02:00
|
|
|
#endif
|
|
|
|
|
2014-05-08 21:49:18 +02:00
|
|
|
#endif
|
|
|
|
|
2012-05-28 05:19:04 +02:00
|
|
|
/*============================================================
|
|
|
|
VIDEO IMAGE
|
|
|
|
============================================================ */
|
|
|
|
|
2016-05-18 12:57:44 +02:00
|
|
|
#include "../libretro-common/formats/image_texture.c"
|
2015-11-09 01:19:09 +01:00
|
|
|
|
2016-05-11 21:57:41 +02:00
|
|
|
#ifdef HAVE_RTGA
|
2015-09-19 15:36:39 +02:00
|
|
|
#include "../libretro-common/formats/tga/rtga.c"
|
2016-05-11 21:57:41 +02:00
|
|
|
#endif
|
2015-04-19 16:55:03 +02:00
|
|
|
|
2015-06-28 18:55:00 +02:00
|
|
|
#ifdef HAVE_IMAGEVIEWER
|
2016-01-21 19:53:52 +01:00
|
|
|
#include "../cores/libretro-imageviewer/image_core.c"
|
2015-06-28 18:55:00 +02:00
|
|
|
#endif
|
|
|
|
|
2016-05-13 04:38:21 +02:00
|
|
|
#include "../libretro-common/formats/image_transfer.c"
|
2015-04-19 16:55:03 +02:00
|
|
|
#ifdef HAVE_RPNG
|
2015-09-19 01:40:29 +02:00
|
|
|
#include "../libretro-common/formats/png/rpng.c"
|
2015-02-20 23:38:48 +01:00
|
|
|
#include "../libretro-common/formats/png/rpng_encode.c"
|
2015-09-19 02:52:23 +02:00
|
|
|
#endif
|
2016-05-11 21:27:17 +02:00
|
|
|
#ifdef HAVE_RJPEG
|
2016-05-07 04:33:54 +02:00
|
|
|
#include "../libretro-common/formats/jpeg/rjpeg.c"
|
2016-05-11 21:27:17 +02:00
|
|
|
#endif
|
2016-05-18 13:28:20 +02:00
|
|
|
#ifdef HAVE_RBMP
|
2016-05-17 21:21:37 +02:00
|
|
|
#include "../libretro-common/formats/bmp/rbmp.c"
|
2015-09-19 04:40:30 +02:00
|
|
|
#include "../libretro-common/formats/bmp/rbmp_encode.c"
|
2016-06-07 06:14:55 +02:00
|
|
|
#endif
|
2015-09-19 02:44:28 +02:00
|
|
|
|
2017-01-28 00:28:51 +01:00
|
|
|
#include "../libretro-common/formats/wav/rwav.c"
|
|
|
|
|
2012-05-28 05:19:04 +02:00
|
|
|
/*============================================================
|
|
|
|
VIDEO DRIVER
|
|
|
|
============================================================ */
|
|
|
|
|
2015-11-08 23:30:21 +01:00
|
|
|
#include "../libretro-common/gfx/math/matrix_4x4.c"
|
|
|
|
#include "../libretro-common/gfx/math/matrix_3x3.c"
|
2016-06-27 10:56:30 +02:00
|
|
|
#include "../libretro-common/gfx/math/vector_2.c"
|
|
|
|
#include "../libretro-common/gfx/math/vector_3.c"
|
2016-09-16 17:46:13 +02:00
|
|
|
#include "../libretro-common/gfx/math/vector_4.c"
|
2015-11-08 23:30:21 +01:00
|
|
|
|
2015-04-23 02:26:09 +02:00
|
|
|
#if defined(GEKKO)
|
2012-08-08 22:39:19 +02:00
|
|
|
#ifdef HW_RVL
|
2015-09-20 15:05:30 +02:00
|
|
|
#include "../gfx/drivers/gx_gfx_vi_encoder.c"
|
2015-09-20 14:54:41 +02:00
|
|
|
#include "../memory/wii/mem2_manager.c"
|
2012-08-08 22:39:19 +02:00
|
|
|
#endif
|
2012-04-14 13:42:25 +02:00
|
|
|
#endif
|
|
|
|
|
2016-09-03 07:10:55 +02:00
|
|
|
#ifdef HAVE_SDL2
|
|
|
|
#include "../gfx/drivers/sdl2_gfx.c"
|
|
|
|
#endif
|
|
|
|
|
2013-07-07 21:17:58 +02:00
|
|
|
#ifdef HAVE_VG
|
2015-01-12 06:45:12 +01:00
|
|
|
#include "../gfx/drivers/vg.c"
|
2013-07-07 21:17:58 +02:00
|
|
|
#endif
|
|
|
|
|
2013-07-28 19:56:35 +02:00
|
|
|
#ifdef HAVE_OMAP
|
2015-01-12 06:45:12 +01:00
|
|
|
#include "../gfx/drivers/omap_gfx.c"
|
2013-07-28 19:56:35 +02:00
|
|
|
#endif
|
|
|
|
|
2016-02-17 05:22:17 +01:00
|
|
|
#ifdef HAVE_VULKAN
|
|
|
|
#include "../gfx/drivers/vulkan.c"
|
|
|
|
#endif
|
|
|
|
|
2016-07-03 22:08:56 +02:00
|
|
|
#if defined(HAVE_PLAIN_DRM)
|
2016-07-03 10:37:07 +02:00
|
|
|
#include "../gfx/drivers/drm_gfx.c"
|
|
|
|
#endif
|
|
|
|
|
2013-01-10 03:34:43 +01:00
|
|
|
#ifdef HAVE_OPENGL
|
2015-11-17 08:01:33 +01:00
|
|
|
#include "../gfx/common/gl_common.c"
|
2015-01-12 06:45:12 +01:00
|
|
|
#include "../gfx/drivers/gl.c"
|
2016-10-24 04:06:49 +02:00
|
|
|
#include "../libretro-common/gfx/gl_capabilities.c"
|
2016-08-02 02:27:05 +02:00
|
|
|
#include "../gfx/drivers/gl_renderchains/render_chain_gl_legacy.c"
|
2013-08-11 15:06:42 +02:00
|
|
|
|
2013-08-11 15:10:56 +02:00
|
|
|
#ifndef HAVE_PSGL
|
2015-02-19 00:04:03 +01:00
|
|
|
#include "../libretro-common/glsym/rglgen.c"
|
2016-12-09 10:07:37 -07:00
|
|
|
#if defined(HAVE_OPENGLES2)
|
2015-02-19 00:04:03 +01:00
|
|
|
#include "../libretro-common/glsym/glsym_es2.c"
|
2016-12-09 10:07:37 -07:00
|
|
|
#elif defined(HAVE_OPENGLES3)
|
|
|
|
#include "../libretro-common/glsym/glsym_es3.c"
|
2013-07-05 19:29:48 +02:00
|
|
|
#else
|
2015-02-19 00:04:03 +01:00
|
|
|
#include "../libretro-common/glsym/glsym_gl.c"
|
2013-07-05 19:29:48 +02:00
|
|
|
#endif
|
2013-01-10 03:34:43 +01:00
|
|
|
#endif
|
|
|
|
|
2013-08-11 15:06:42 +02:00
|
|
|
#endif
|
|
|
|
|
2013-07-07 21:17:58 +02:00
|
|
|
#ifdef HAVE_XVIDEO
|
2015-01-12 06:45:12 +01:00
|
|
|
#include "../gfx/drivers/xvideo.c"
|
2013-07-07 21:17:58 +02:00
|
|
|
#endif
|
|
|
|
|
2015-04-03 20:36:19 +02:00
|
|
|
#if defined(HAVE_D3D)
|
2016-08-01 22:05:57 +02:00
|
|
|
#include "../gfx/drivers/d3d_renderchains/render_chain_driver.c"
|
|
|
|
#include "../gfx/drivers/d3d_renderchains/render_chain_null.c"
|
2013-01-10 03:34:43 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(GEKKO)
|
2015-01-12 06:55:31 +01:00
|
|
|
#include "../gfx/drivers/gx_gfx.c"
|
2013-07-27 20:47:00 +02:00
|
|
|
#elif defined(PSP)
|
2015-01-12 06:55:31 +01:00
|
|
|
#include "../gfx/drivers/psp1_gfx.c"
|
2015-08-30 20:04:52 +02:00
|
|
|
#elif defined(HAVE_VITA2D)
|
2016-08-01 00:50:13 +02: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 20:04:52 +02:00
|
|
|
#include "../gfx/drivers/vita2d_gfx.c"
|
2015-04-01 22:14:13 +01:00
|
|
|
#elif defined(_3DS)
|
|
|
|
#include "../gfx/drivers/ctr_gfx.c"
|
2013-01-09 05:54:48 +01:00
|
|
|
#elif defined(XENON)
|
2015-01-12 06:45:12 +01:00
|
|
|
#include "../gfx/drivers/xenon360_gfx.c"
|
2017-01-24 00:55:55 -05:00
|
|
|
#elif defined(DJGPP)
|
|
|
|
#include "../gfx/drivers/vga_gfx.c"
|
2013-01-09 05:57:02 +01:00
|
|
|
#endif
|
2015-01-12 06:45:12 +01:00
|
|
|
#include "../gfx/drivers/nullgfx.c"
|
2012-06-20 06:39:52 +02:00
|
|
|
|
2017-01-05 17:21:13 -05:00
|
|
|
#if defined(_WIN32) && !defined(_XBOX)
|
|
|
|
#include "../gfx/drivers/gdi_gfx.c"
|
|
|
|
#endif
|
|
|
|
|
2012-05-27 04:02:07 +02:00
|
|
|
/*============================================================
|
|
|
|
FONTS
|
|
|
|
============================================================ */
|
|
|
|
|
2015-01-12 23:34:10 +01:00
|
|
|
#include "../gfx/drivers_font_renderer/bitmapfont.c"
|
2015-04-03 20:36:19 +02:00
|
|
|
#include "../gfx/font_driver.c"
|
2014-02-05 12:30:55 -03:00
|
|
|
|
2015-07-14 12:05:08 -03:00
|
|
|
#if defined(HAVE_STB_FONT)
|
2016-11-05 18:59:44 +01:00
|
|
|
#include "../gfx/drivers_font_renderer/stb_unicode.c"
|
2015-07-14 12:05:08 -03:00
|
|
|
#include "../gfx/drivers_font_renderer/stb.c"
|
|
|
|
#endif
|
|
|
|
|
2013-02-25 01:19:12 +01:00
|
|
|
#if defined(HAVE_FREETYPE)
|
2015-01-12 23:34:10 +01:00
|
|
|
#include "../gfx/drivers_font_renderer/freetype.c"
|
2013-02-25 03:43:19 +01:00
|
|
|
#endif
|
|
|
|
|
2015-04-19 16:18:58 +02:00
|
|
|
#if defined(__APPLE__) && defined(HAVE_CORETEXT)
|
2015-01-12 23:34:10 +01:00
|
|
|
#include "../gfx/drivers_font_renderer/coretext.c"
|
2014-10-18 20:19:44 -04:00
|
|
|
#endif
|
|
|
|
|
2013-11-07 02:54:09 +01:00
|
|
|
#if defined(HAVE_LIBDBGFONT)
|
2015-01-12 23:38:21 +01:00
|
|
|
#include "../gfx/drivers_font/ps_libdbgfont.c"
|
2014-09-25 06:56:23 +02:00
|
|
|
#endif
|
|
|
|
|
2015-04-23 02:04:32 +02:00
|
|
|
#if defined(HAVE_OPENGL)
|
2015-01-12 23:38:21 +01:00
|
|
|
#include "../gfx/drivers_font/gl_raster_font.c"
|
2014-09-25 06:56:23 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(_XBOX1)
|
2015-01-12 23:38:21 +01:00
|
|
|
#include "../gfx/drivers_font/xdk1_xfonts.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
#endif
|
2012-09-27 18:16:06 +02:00
|
|
|
|
2015-10-01 01:10:26 +02:00
|
|
|
#if defined(VITA)
|
|
|
|
#include "../gfx/drivers_font/vita2d_font.c"
|
|
|
|
#endif
|
|
|
|
|
2016-09-29 20:14:12 +01:00
|
|
|
#if defined(_3DS)
|
|
|
|
#include "../gfx/drivers_font/ctr_font.c"
|
|
|
|
#endif
|
|
|
|
|
2016-12-01 12:13:36 -05:00
|
|
|
#if defined(HAVE_CACA)
|
|
|
|
#include "../gfx/drivers_font/caca_font.c"
|
|
|
|
#endif
|
|
|
|
|
2017-01-21 17:41:20 -05:00
|
|
|
#if defined(DJGPP)
|
|
|
|
#include "../gfx/drivers_font/vga_font.c"
|
|
|
|
#endif
|
|
|
|
|
2017-01-04 02:07:19 -05:00
|
|
|
#if defined(_WIN32) && !defined(_XBOX)
|
|
|
|
#include "../gfx/drivers_font/gdi_font.c"
|
|
|
|
#endif
|
2016-09-29 20:14:12 +01:00
|
|
|
|
2016-02-17 05:22:17 +01:00
|
|
|
#if defined(HAVE_VULKAN)
|
|
|
|
#include "../gfx/drivers_font/vulkan_raster_font.c"
|
|
|
|
#endif
|
|
|
|
|
2012-04-14 01:02:37 +02:00
|
|
|
/*============================================================
|
|
|
|
INPUT
|
|
|
|
============================================================ */
|
2016-12-01 20:38:20 +01:00
|
|
|
#include "../tasks/task_autodetect.c"
|
2015-01-12 20:29:01 +01:00
|
|
|
#include "../input/input_joypad_driver.c"
|
2015-11-28 02:22:46 +01:00
|
|
|
#include "../input/input_config.c"
|
2014-10-27 04:27:48 +01:00
|
|
|
#include "../input/input_keymaps.c"
|
2015-01-19 18:16:34 +01:00
|
|
|
#include "../input/input_remapping.c"
|
2015-11-28 16:13:16 +01:00
|
|
|
#include "../input/input_keyboard.c"
|
2012-12-23 18:39:34 +01:00
|
|
|
|
|
|
|
#ifdef HAVE_OVERLAY
|
2015-01-12 21:59:32 +01:00
|
|
|
#include "../input/input_overlay.c"
|
2015-05-05 18:16:09 +02:00
|
|
|
#include "../tasks/task_overlay.c"
|
2012-12-23 18:39:34 +01:00
|
|
|
#endif
|
2012-12-20 20:48:09 +01:00
|
|
|
|
2015-11-29 03:34:09 +01:00
|
|
|
#ifdef HAVE_X11
|
|
|
|
#include "../input/common/x11_input_common.c"
|
|
|
|
#endif
|
|
|
|
|
2016-09-03 07:39:26 +02:00
|
|
|
#include "../input/input_autodetect_builtin.c"
|
2016-09-03 07:02:05 +02:00
|
|
|
|
2012-07-01 14:10:13 +02:00
|
|
|
#if defined(__CELLOS_LV2__)
|
2015-01-12 06:16:52 +01:00
|
|
|
#include "../input/drivers/ps3_input.c"
|
2015-04-02 18:42:15 +02:00
|
|
|
#include "../input/drivers_joypad/ps3_joypad.c"
|
2015-08-10 23:19:07 +02:00
|
|
|
#elif defined(SN_TARGET_PSP2) || defined(PSP) || defined(VITA)
|
2015-01-12 06:16:52 +01:00
|
|
|
#include "../input/drivers/psp_input.c"
|
2015-04-02 18:42:15 +02:00
|
|
|
#include "../input/drivers_joypad/psp_joypad.c"
|
2015-11-16 01:14:43 +01:00
|
|
|
#elif defined(HAVE_COCOA) || defined(HAVE_COCOATOUCH)
|
|
|
|
#include "../input/drivers/cocoa_input.c"
|
2015-04-01 22:14:13 +01:00
|
|
|
#elif defined(_3DS)
|
|
|
|
#include "../input/drivers/ctr_input.c"
|
2015-04-02 18:42:15 +02:00
|
|
|
#include "../input/drivers_joypad/ctr_joypad.c"
|
2012-04-14 13:42:25 +02:00
|
|
|
#elif defined(GEKKO)
|
2015-01-12 06:16:52 +01:00
|
|
|
#include "../input/drivers/gx_input.c"
|
2015-04-02 18:42:15 +02:00
|
|
|
#include "../input/drivers_joypad/gx_joypad.c"
|
2012-07-31 20:56:05 +02:00
|
|
|
#elif defined(_XBOX)
|
2015-01-12 06:16:52 +01:00
|
|
|
#include "../input/drivers/xdk_xinput_input.c"
|
2015-04-02 18:42:15 +02:00
|
|
|
#include "../input/drivers_joypad/xdk_joypad.c"
|
2012-11-25 05:41:12 +01:00
|
|
|
#elif defined(XENON)
|
2015-01-12 06:16:52 +01:00
|
|
|
#include "../input/drivers/xenon360_input.c"
|
2012-11-03 08:42:33 +01:00
|
|
|
#elif defined(ANDROID)
|
2015-01-12 06:16:52 +01:00
|
|
|
#include "../input/drivers/android_input.c"
|
2015-11-29 16:18:29 +01:00
|
|
|
#include "../input/drivers_keyboard/keyboard_event_android.c"
|
2015-04-02 18:42:15 +02:00
|
|
|
#include "../input/drivers_joypad/android_joypad.c"
|
2014-05-20 02:48:11 +02:00
|
|
|
#elif defined(__QNX__)
|
2015-01-12 06:16:52 +01:00
|
|
|
#include "../input/drivers/qnx_input.c"
|
2015-04-02 18:42:15 +02:00
|
|
|
#include "../input/drivers_joypad/qnx_joypad.c"
|
2013-11-17 23:21:40 +01:00
|
|
|
#elif defined(EMSCRIPTEN)
|
2015-01-12 06:16:52 +01:00
|
|
|
#include "../input/drivers/rwebinput_input.c"
|
2017-01-24 00:55:55 -05:00
|
|
|
#elif defined(DJGPP)
|
|
|
|
#include "../input/drivers/dos_input.c"
|
|
|
|
#include "../input/drivers_joypad/dos_joypad.c"
|
2013-01-09 05:57:02 +01:00
|
|
|
#endif
|
|
|
|
|
2014-09-14 06:15:24 +02:00
|
|
|
#ifdef HAVE_DINPUT
|
2015-01-12 06:16:52 +01:00
|
|
|
#include "../input/drivers/dinput.c"
|
2015-04-08 01:58:09 +02:00
|
|
|
#include "../input/drivers_joypad/dinput_joypad.c"
|
2014-09-14 06:15:24 +02:00
|
|
|
#endif
|
|
|
|
|
2015-04-05 20:43:24 +02:00
|
|
|
#ifdef HAVE_XINPUT
|
2015-04-02 18:42:15 +02:00
|
|
|
#include "../input/drivers_joypad/xinput_joypad.c"
|
2014-09-14 06:15:24 +02:00
|
|
|
#endif
|
|
|
|
|
2015-04-01 22:14:13 +01:00
|
|
|
#if defined(__linux__) && !defined(ANDROID)
|
2015-11-17 06:46:32 +01:00
|
|
|
#include "../input/common/linux_common.c"
|
2015-11-30 18:05:10 +01:00
|
|
|
#include "../input/common/epoll_common.c"
|
2015-01-12 06:16:52 +01:00
|
|
|
#include "../input/drivers/linuxraw_input.c"
|
2015-01-12 06:28:39 +01:00
|
|
|
#include "../input/drivers_joypad/linuxraw_joypad.c"
|
2013-07-07 19:22:54 +02:00
|
|
|
#endif
|
|
|
|
|
2013-07-07 21:25:22 +02:00
|
|
|
#ifdef HAVE_X11
|
2015-01-12 06:16:52 +01:00
|
|
|
#include "../input/drivers/x11_input.c"
|
2013-07-07 21:25:22 +02:00
|
|
|
#endif
|
|
|
|
|
2014-10-27 19:25:59 +01:00
|
|
|
#ifdef HAVE_UDEV
|
2016-12-01 15:02:29 +01:00
|
|
|
#include "../input/common/udev_common.c"
|
2015-01-12 06:16:52 +01:00
|
|
|
#include "../input/drivers/udev_input.c"
|
2015-11-29 15:35:34 +01:00
|
|
|
#include "../input/drivers_keyboard/keyboard_event_udev.c"
|
2015-01-12 06:28:39 +01:00
|
|
|
#include "../input/drivers_joypad/udev_joypad.c"
|
2014-10-27 19:25:59 +01:00
|
|
|
#endif
|
|
|
|
|
2015-01-12 06:16:52 +01:00
|
|
|
#include "../input/drivers/nullinput.c"
|
2015-04-02 18:44:02 +02:00
|
|
|
#include "../input/drivers_joypad/null_joypad.c"
|
2012-06-20 06:39:52 +02:00
|
|
|
|
2015-04-02 17:49:32 +02:00
|
|
|
/*============================================================
|
|
|
|
INPUT (HID)
|
|
|
|
============================================================ */
|
2016-06-07 03:01:33 +02:00
|
|
|
#ifdef HAVE_HID
|
2016-06-07 05:39:51 +02:00
|
|
|
#include "../input/input_hid_driver.c"
|
2016-06-07 05:15:22 +02:00
|
|
|
#include "../input/drivers_joypad/hid_joypad.c"
|
2015-04-02 17:49:32 +02:00
|
|
|
#include "../input/drivers_hid/null_hid.c"
|
|
|
|
|
2016-05-11 19:02:43 +02:00
|
|
|
#if defined(HAVE_LIBUSB) && defined(HAVE_THREADS)
|
2015-04-02 17:49:32 +02:00
|
|
|
#include "../input/drivers_hid/libusb_hid.c"
|
2015-04-07 06:57:05 +02:00
|
|
|
#endif
|
|
|
|
|
2015-11-16 04:17:13 +01:00
|
|
|
#ifdef HAVE_BTSTACK
|
2015-04-04 05:23:26 +02:00
|
|
|
#include "../input/drivers_hid/btstack_hid.c"
|
2015-11-16 04:17:13 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(__APPLE__) && defined(HAVE_IOHIDMANAGER)
|
2015-04-20 11:52:10 +02:00
|
|
|
#include "../input/drivers_hid/iohidmanager_hid.c"
|
2015-04-02 17:49:32 +02:00
|
|
|
#endif
|
|
|
|
|
2015-08-30 09:48:38 +02:00
|
|
|
#ifdef HAVE_WIIUSB_HID
|
|
|
|
#include "../input/drivers_hid/wiiusb_hid.c"
|
|
|
|
#endif
|
|
|
|
|
2015-04-02 17:49:32 +02: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 18:30:17 +01:00
|
|
|
#include "../input/connect/connect_wiiupro.c"
|
2016-02-04 17:01:03 -05:00
|
|
|
#include "../input/connect/connect_snesusb.c"
|
|
|
|
#include "../input/connect/connect_nesusb.c"
|
|
|
|
#include "../input/connect/connect_wiiugca.c"
|
2016-04-16 19:33:17 -05:00
|
|
|
#include "../input/connect/connect_ps2adapter.c"
|
2016-02-04 17:01:03 -05:00
|
|
|
#endif
|
2015-04-02 17:49:32 +02:00
|
|
|
|
2014-10-27 14:58:51 +01:00
|
|
|
/*============================================================
|
|
|
|
KEYBOARD EVENT
|
|
|
|
============================================================ */
|
|
|
|
|
|
|
|
#ifdef HAVE_X11
|
2015-04-04 20:42:16 +02:00
|
|
|
#include "../input/drivers_keyboard/keyboard_event_x11.c"
|
2014-10-27 14:58:51 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __APPLE__
|
2015-04-04 20:42:16 +02:00
|
|
|
#include "../input/drivers_keyboard/keyboard_event_apple.c"
|
2014-10-27 14:58:51 +01:00
|
|
|
#endif
|
|
|
|
|
2014-10-27 19:25:59 +01:00
|
|
|
#ifdef HAVE_XKBCOMMON
|
2015-04-04 20:42:16 +02:00
|
|
|
#include "../input/drivers_keyboard/keyboard_event_xkb.c"
|
2014-10-27 19:25:59 +01:00
|
|
|
#endif
|
|
|
|
|
2012-04-14 01:02:37 +02:00
|
|
|
/*============================================================
|
2012-05-28 05:19:04 +02:00
|
|
|
STATE TRACKER
|
2012-04-14 01:02:37 +02:00
|
|
|
============================================================ */
|
2015-01-12 16:00:13 +01:00
|
|
|
#include "../gfx/video_state_tracker.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
|
2013-07-07 21:25:22 +02:00
|
|
|
#ifdef HAVE_PYTHON
|
2016-09-11 17:59:10 +02:00
|
|
|
#include "../gfx/drivers_tracker/video_state_python.c"
|
2013-07-07 21:25:22 +02:00
|
|
|
#endif
|
|
|
|
|
2012-04-14 01:02:37 +02:00
|
|
|
/*============================================================
|
|
|
|
FIFO BUFFER
|
|
|
|
============================================================ */
|
2016-03-20 14:06:21 +01:00
|
|
|
#include "../libretro-common/queues/fifo_queue.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
|
|
|
|
/*============================================================
|
2013-02-08 11:49:51 +01:00
|
|
|
AUDIO RESAMPLER
|
2012-04-14 01:02:37 +02:00
|
|
|
============================================================ */
|
2016-12-12 13:02:29 +01: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 12:48:04 +01:00
|
|
|
#ifdef HAVE_CC_RESAMPLER
|
2015-01-12 22:11:13 +01:00
|
|
|
#include "../audio/drivers_resampler/cc_resampler.c"
|
2016-12-12 12:48:04 +01:00
|
|
|
#endif
|
2012-04-14 01:02:37 +02:00
|
|
|
|
2013-11-17 19:47:37 +01:00
|
|
|
/*============================================================
|
|
|
|
CAMERA
|
|
|
|
============================================================ */
|
|
|
|
#if defined(ANDROID)
|
2015-01-12 19:04:12 +01:00
|
|
|
#include "../camera/drivers/android.c"
|
2013-11-17 19:47:37 +01:00
|
|
|
#elif defined(EMSCRIPTEN)
|
2015-01-12 19:04:12 +01:00
|
|
|
#include "../camera/drivers/rwebcam.c"
|
2013-11-17 19:47:37 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_V4L2
|
2015-01-12 19:04:12 +01:00
|
|
|
#include "../camera/drivers/video4linux2.c"
|
2013-11-17 19:47:37 +01:00
|
|
|
#endif
|
|
|
|
|
2016-07-28 20:01:38 +02:00
|
|
|
#ifdef HAVE_VIDEO_PROCESSOR
|
|
|
|
#include "../cores/libretro-video-processor/video_processor_v4l2.c"
|
|
|
|
#endif
|
|
|
|
|
2015-01-12 19:04:12 +01:00
|
|
|
#include "../camera/drivers/nullcamera.c"
|
2013-11-17 19:47:37 +01:00
|
|
|
|
2013-12-19 01:51:51 +01:00
|
|
|
/*============================================================
|
|
|
|
LOCATION
|
|
|
|
============================================================ */
|
2013-12-19 03:37:26 +01:00
|
|
|
#if defined(ANDROID)
|
2015-01-12 19:05:33 +01:00
|
|
|
#include "../location/drivers/android.c"
|
2013-12-19 03:37:26 +01:00
|
|
|
#endif
|
|
|
|
|
2015-01-12 19:05:33 +01:00
|
|
|
#include "../location/drivers/nulllocation.c"
|
2013-12-19 01:51:51 +01:00
|
|
|
|
2012-04-14 01:02:37 +02:00
|
|
|
/*============================================================
|
|
|
|
RSOUND
|
|
|
|
============================================================ */
|
2012-05-22 17:26:23 +02:00
|
|
|
#ifdef HAVE_RSOUND
|
2013-11-01 00:07:52 +01:00
|
|
|
#include "../audio/librsound.c"
|
2015-01-12 22:28:59 +01:00
|
|
|
#include "../audio/drivers/rsound.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
AUDIO
|
|
|
|
============================================================ */
|
2012-07-01 15:18:26 +02:00
|
|
|
#if defined(__CELLOS_LV2__)
|
2015-01-12 05:05:56 +01:00
|
|
|
#include "../audio/drivers/ps3_audio.c"
|
2012-11-25 05:41:12 +01:00
|
|
|
#elif defined(XENON)
|
2015-01-12 05:05:56 +01:00
|
|
|
#include "../audio/drivers/xenon360_audio.c"
|
2012-04-14 13:42:25 +02:00
|
|
|
#elif defined(GEKKO)
|
2015-01-12 05:05:56 +01:00
|
|
|
#include "../audio/drivers/gx_audio.c"
|
2013-11-17 23:21:40 +01:00
|
|
|
#elif defined(EMSCRIPTEN)
|
2015-01-12 05:05:56 +01:00
|
|
|
#include "../audio/drivers/rwebaudio.c"
|
2015-08-12 12:18:45 +02:00
|
|
|
#elif defined(PSP) || defined(VITA)
|
|
|
|
#include "../audio/drivers/psp_audio.c"
|
2015-04-01 22:14:13 +01:00
|
|
|
#elif defined(_3DS)
|
2015-10-27 01:06:34 +01:00
|
|
|
#include "../audio/drivers/ctr_csnd_audio.c"
|
|
|
|
#include "../audio/drivers/ctr_dsp_audio.c"
|
2013-01-09 22:04:28 +01:00
|
|
|
#endif
|
|
|
|
|
2016-09-03 07:10:55 +02:00
|
|
|
#if defined(HAVE_SDL2)
|
|
|
|
#include "../audio/drivers/sdl_audio.c"
|
|
|
|
#endif
|
|
|
|
|
2013-01-09 22:04:28 +01:00
|
|
|
#ifdef HAVE_DSOUND
|
2015-01-12 05:05:56 +01:00
|
|
|
#include "../audio/drivers/dsound.c"
|
2013-01-09 22:04:28 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_SL
|
2015-01-12 05:05:56 +01:00
|
|
|
#include "../audio/drivers/opensl.c"
|
2013-01-09 05:57:02 +01:00
|
|
|
#endif
|
|
|
|
|
2013-06-19 12:52:47 +02:00
|
|
|
#ifdef HAVE_ALSA
|
2013-06-21 18:56:39 +02:00
|
|
|
#ifdef __QNX__
|
2015-01-12 05:05:56 +01:00
|
|
|
#include "../audio/drivers/alsa_qsa.c"
|
2013-06-21 18:56:39 +02:00
|
|
|
#else
|
2015-01-12 05:05:56 +01:00
|
|
|
#include "../audio/drivers/alsa.c"
|
|
|
|
#include "../audio/drivers/alsathread.c"
|
2013-06-19 12:52:47 +02:00
|
|
|
#endif
|
2013-06-21 18:56:39 +02:00
|
|
|
#endif
|
2013-06-19 12:52:47 +02:00
|
|
|
|
2013-02-25 01:19:12 +01:00
|
|
|
#ifdef HAVE_AL
|
2015-01-12 05:05:56 +01:00
|
|
|
#include "../audio/drivers/openal.c"
|
2013-02-25 01:19:12 +01:00
|
|
|
#endif
|
|
|
|
|
2013-03-18 06:17:00 +01:00
|
|
|
#ifdef HAVE_COREAUDIO
|
2015-01-12 05:05:56 +01:00
|
|
|
#include "../audio/drivers/coreaudio.c"
|
2013-03-18 06:17:00 +01:00
|
|
|
#endif
|
|
|
|
|
2015-01-12 05:05:56 +01:00
|
|
|
#include "../audio/drivers/nullaudio.c"
|
2012-07-08 19:30:19 +03:00
|
|
|
|
2012-11-03 16:38:03 +01:00
|
|
|
/*============================================================
|
|
|
|
DRIVERS
|
|
|
|
============================================================ */
|
2015-01-12 18:28:32 +01:00
|
|
|
#include "../gfx/video_driver.c"
|
2016-03-05 07:27:48 +01:00
|
|
|
#include "../gfx/video_coord_array.c"
|
2015-01-12 18:39:27 +01:00
|
|
|
#include "../input/input_driver.c"
|
2015-01-12 18:09:31 +01:00
|
|
|
#include "../audio/audio_driver.c"
|
2017-03-22 03:00:21 +01:00
|
|
|
#include "../libretro-common/audio/audio_mixer.c"
|
2015-01-12 19:44:29 +01:00
|
|
|
#include "../camera/camera_driver.c"
|
2015-01-12 19:53:10 +01:00
|
|
|
#include "../location/location_driver.c"
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../driver.c"
|
2012-11-03 16:38:03 +01:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
SCALERS
|
|
|
|
============================================================ */
|
2015-02-19 00:04:03 +01: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 16:38:03 +01:00
|
|
|
|
2014-04-16 02:09:09 +02:00
|
|
|
/*============================================================
|
|
|
|
FILTERS
|
|
|
|
============================================================ */
|
2014-04-16 03:33:10 +02:00
|
|
|
|
|
|
|
#ifdef HAVE_FILTERS_BUILTIN
|
2014-10-29 07:51:23 +01: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 12:30:11 +01: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 02:09:09 +02:00
|
|
|
#endif
|
2017-01-09 12:30:11 +01:00
|
|
|
|
2012-04-14 01:02:37 +02:00
|
|
|
/*============================================================
|
|
|
|
DYNAMIC
|
|
|
|
============================================================ */
|
2015-05-08 09:49:49 +02:00
|
|
|
#include "../libretro-common/dynamic/dylib.c"
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../dynamic.c"
|
2014-11-20 07:03:25 +01:00
|
|
|
#include "../gfx/video_filter.c"
|
2017-01-09 12:22:29 +01:00
|
|
|
#include "../libretro-common/audio/dsp_filter.c"
|
2014-04-16 02:09:09 +02:00
|
|
|
|
2015-06-21 00:37:19 +02:00
|
|
|
/*============================================================
|
|
|
|
CORES
|
|
|
|
============================================================ */
|
|
|
|
#ifdef HAVE_FFMPEG
|
2015-10-19 16:55:08 +02:00
|
|
|
#include "../cores/libretro-ffmpeg/ffmpeg_core.c"
|
2015-06-21 00:37:19 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "../cores/dynamic_dummy.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
FILE
|
|
|
|
============================================================ */
|
2015-02-19 00:04:03 +01:00
|
|
|
#include "../libretro-common/file/file_path.c"
|
2015-03-13 05:03:50 +01:00
|
|
|
#include "../file_path_special.c"
|
2016-06-20 05:20:14 +02:00
|
|
|
#include "../file_path_str.c"
|
2016-03-20 14:53:54 +01: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 03:07:20 +02:00
|
|
|
#include "../setting_list.c"
|
2015-09-04 18:38:29 +02:00
|
|
|
#include "../libretro-common/file/retro_dirent.c"
|
2016-03-20 16:29:14 +01:00
|
|
|
#include "../libretro-common/streams/file_stream.c"
|
2016-04-06 21:58:23 +02:00
|
|
|
#include "../libretro-common/streams/interface_stream.c"
|
|
|
|
#include "../libretro-common/streams/memory_stream.c"
|
2015-09-22 01:45:16 +02:00
|
|
|
#include "../libretro-common/file/retro_stat.c"
|
2016-03-20 17:28:24 +01:00
|
|
|
#include "../list_special.c"
|
2015-03-13 15:43:52 +01:00
|
|
|
#include "../libretro-common/string/stdstring.c"
|
2015-02-19 00:04:03 +01:00
|
|
|
#include "../libretro-common/file/nbio/nbio_stdio.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
MESSAGE
|
|
|
|
============================================================ */
|
2015-02-19 00:04:03 +01:00
|
|
|
#include "../libretro-common/queues/message_queue.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
|
|
|
|
/*============================================================
|
2015-03-21 00:42:09 +01:00
|
|
|
CONFIGURATION
|
2012-04-14 01:02:37 +02:00
|
|
|
============================================================ */
|
2015-03-21 00:42:09 +01:00
|
|
|
#include "../configuration.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
|
|
|
|
/*============================================================
|
2016-05-09 07:14:10 +02:00
|
|
|
STATE MANAGER
|
2012-04-14 01:02:37 +02:00
|
|
|
============================================================ */
|
2016-05-09 18:20:52 +02:00
|
|
|
#include "../managers/state_manager.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
|
2013-07-27 12:59:23 +02:00
|
|
|
/*============================================================
|
|
|
|
FRONTEND
|
|
|
|
============================================================ */
|
|
|
|
|
2015-01-12 21:21:08 +01:00
|
|
|
#include "../frontend/frontend_driver.c"
|
2013-07-26 20:58:47 +02:00
|
|
|
|
2015-04-07 21:51:57 +02:00
|
|
|
#if defined(_WIN32) && !defined(_XBOX)
|
|
|
|
#include "../frontend/drivers/platform_win32.c"
|
|
|
|
#endif
|
2013-07-27 12:59:23 +02:00
|
|
|
#if defined(__CELLOS_LV2__)
|
2015-01-12 21:47:01 +01:00
|
|
|
#include "../frontend/drivers/platform_ps3.c"
|
2013-07-27 12:59:23 +02:00
|
|
|
#elif defined(GEKKO)
|
2015-01-12 21:47:01 +01:00
|
|
|
#include "../frontend/drivers/platform_gx.c"
|
2013-11-03 17:39:12 +01:00
|
|
|
#ifdef HW_RVL
|
2015-01-12 21:47:01 +01:00
|
|
|
#include "../frontend/drivers/platform_wii.c"
|
2013-11-03 17:39:12 +01:00
|
|
|
#endif
|
2015-09-02 13:07:13 +02:00
|
|
|
#elif defined(PSP) || defined(VITA)
|
2015-01-12 21:47:01 +01:00
|
|
|
#include "../frontend/drivers/platform_psp.c"
|
2015-04-01 22:14:13 +01:00
|
|
|
#elif defined(_3DS)
|
|
|
|
#include "../frontend/drivers/platform_ctr.c"
|
2015-09-04 20:45:02 +02:00
|
|
|
#elif defined(XENON)
|
|
|
|
#include "../frontend/drivers/platform_xenon.c"
|
2013-07-27 17:16:46 +02:00
|
|
|
#elif defined(__QNX__)
|
2015-01-12 21:47:01 +01:00
|
|
|
#include "../frontend/drivers/platform_qnx.c"
|
2015-09-15 20:43:54 +02:00
|
|
|
#elif defined(__linux__)
|
2015-04-18 19:12:14 +02:00
|
|
|
#include "../frontend/drivers/platform_linux.c"
|
2016-07-08 13:01:16 +02:00
|
|
|
#elif defined(BSD) && !defined(__MACH__)
|
2016-07-08 02:13:47 +02:00
|
|
|
#include "../frontend/drivers/platform_bsd.c"
|
2017-01-24 00:55:55 -05:00
|
|
|
#elif defined(DJGPP)
|
|
|
|
#include "../frontend/drivers/platform_dos.c"
|
2013-07-27 12:59:23 +02:00
|
|
|
#endif
|
2015-01-12 21:47:01 +01:00
|
|
|
#include "../frontend/drivers/platform_null.c"
|
2013-07-27 12:59:23 +02:00
|
|
|
|
2014-08-02 14:04:43 +02:00
|
|
|
#include "../core_info.c"
|
2014-03-01 11:53:04 +01:00
|
|
|
|
2015-04-12 01:31:03 +02:00
|
|
|
/*============================================================
|
|
|
|
UI
|
|
|
|
============================================================ */
|
|
|
|
#include "../ui/ui_companion_driver.c"
|
|
|
|
|
|
|
|
#include "../ui/drivers/ui_null.c"
|
2016-06-04 04:24:54 +02:00
|
|
|
#include "../ui/drivers/null/ui_null_window.c"
|
2016-06-08 15:47:00 +02:00
|
|
|
#include "../ui/drivers/null/ui_null_browser_window.c"
|
2016-06-08 06:29:52 +02:00
|
|
|
#include "../ui/drivers/null/ui_null_msg_window.c"
|
2016-06-07 16:31:35 +02:00
|
|
|
#include "../ui/drivers/null/ui_null_application.c"
|
2015-04-12 01:31:03 +02:00
|
|
|
|
2015-11-19 07:41:14 +01:00
|
|
|
#if defined(_WIN32) && !defined(_XBOX)
|
2015-11-19 07:26:24 +01:00
|
|
|
#include "../ui/drivers/ui_win32.c"
|
2016-06-08 15:51:43 +02:00
|
|
|
#include "../ui/drivers/win32/ui_win32_browser_window.c"
|
2016-06-08 06:33:15 +02:00
|
|
|
#include "../ui/drivers/win32/ui_win32_msg_window.c"
|
2016-06-07 17:03:34 +02:00
|
|
|
#include "../ui/drivers/win32/ui_win32_application.c"
|
2015-11-19 07:26:24 +01:00
|
|
|
#endif
|
|
|
|
|
2012-04-14 01:02:37 +02:00
|
|
|
/*============================================================
|
|
|
|
MAIN
|
|
|
|
============================================================ */
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../frontend/frontend.c"
|
2013-02-25 07:29:09 +01:00
|
|
|
|
2015-04-16 20:23:06 +02:00
|
|
|
/*============================================================
|
|
|
|
GIT
|
|
|
|
============================================================ */
|
|
|
|
|
|
|
|
#ifdef HAVE_GIT_VERSION
|
2016-09-01 17:49:28 +02:00
|
|
|
#include "../version_git.c"
|
2015-04-16 20:23:06 +02:00
|
|
|
#endif
|
|
|
|
|
2015-05-05 17:58:37 +02:00
|
|
|
|
2012-04-14 01:02:37 +02:00
|
|
|
/*============================================================
|
2012-04-22 02:06:34 +02:00
|
|
|
RETROARCH
|
2012-04-14 01:02:37 +02:00
|
|
|
============================================================ */
|
2016-05-08 05:29:10 +02:00
|
|
|
#include "../core_impl.c"
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../retroarch.c"
|
2016-09-17 14:44:19 +02:00
|
|
|
#include "../dirs.c"
|
2016-09-17 12:10:46 +02:00
|
|
|
#include "../paths.c"
|
2014-10-05 01:31:48 +02:00
|
|
|
#include "../runloop.c"
|
2016-02-09 18:13:47 +01:00
|
|
|
#include "../libretro-common/queues/task_queue.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
|
2015-07-01 01:42:04 +02:00
|
|
|
#include "../msg_hash.c"
|
2016-06-07 06:28:33 +02:00
|
|
|
#ifdef HAVE_LANGEXTRA
|
2015-07-01 01:42:04 +02: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 08:37:51 -05:00
|
|
|
#include "../intl/msg_hash_ja.c"
|
2017-03-05 01:36:08 +09:00
|
|
|
#include "../intl/msg_hash_ko.c"
|
2015-07-01 01:42:04 +02:00
|
|
|
#include "../intl/msg_hash_nl.c"
|
|
|
|
#include "../intl/msg_hash_pt.c"
|
2015-07-07 02:56:27 +02:00
|
|
|
#include "../intl/msg_hash_pl.c"
|
2016-02-24 19:19:03 +01:00
|
|
|
#include "../intl/msg_hash_ru.c"
|
2016-10-27 21:56:01 +02:00
|
|
|
#include "../intl/msg_hash_vn.c"
|
2016-10-29 06:50:52 +02:00
|
|
|
#include "../intl/msg_hash_chs.c"
|
2016-02-24 19:19:03 +01:00
|
|
|
#endif
|
2016-06-07 06:28:33 +02:00
|
|
|
|
|
|
|
#include "../intl/msg_hash_us.c"
|
2015-06-21 00:37:19 +02:00
|
|
|
|
2016-09-22 03:27:55 +02:00
|
|
|
/*============================================================
|
|
|
|
WIFI
|
|
|
|
============================================================ */
|
|
|
|
#include "../wifi/wifi_driver.c"
|
|
|
|
|
|
|
|
#include "../wifi/drivers/nullwifi.c"
|
|
|
|
|
|
|
|
#ifdef HAVE_LAKKA
|
|
|
|
#include "../wifi/drivers/connmanctl.c"
|
|
|
|
#endif
|
|
|
|
|
2014-08-12 05:28:43 +02:00
|
|
|
/*============================================================
|
|
|
|
RECORDING
|
|
|
|
============================================================ */
|
2014-08-13 08:07:30 +02:00
|
|
|
#include "../movie.c"
|
2015-01-12 21:55:41 +01:00
|
|
|
#include "../record/record_driver.c"
|
2015-04-15 13:37:38 +02:00
|
|
|
#include "../record/drivers/record_null.c"
|
2014-08-12 05:28:43 +02:00
|
|
|
|
2015-06-21 00:37:19 +02:00
|
|
|
#ifdef HAVE_FFMPEG
|
|
|
|
#include "../record/drivers/record_ffmpeg.c"
|
|
|
|
#endif
|
|
|
|
|
2012-04-14 01:02:37 +02:00
|
|
|
/*============================================================
|
|
|
|
THREAD
|
|
|
|
============================================================ */
|
2013-02-17 00:38:30 +01:00
|
|
|
#if defined(HAVE_THREADS) && defined(XENON)
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../thread/xenon_sdl_threads.c"
|
2013-02-16 12:30:26 +01:00
|
|
|
#elif defined(HAVE_THREADS)
|
2015-02-19 00:04:03 +01:00
|
|
|
#include "../libretro-common/rthreads/rthreads.c"
|
2015-10-28 07:08:27 +01:00
|
|
|
#include "../libretro-common/rthreads/rsemaphore.c"
|
2013-12-31 22:10:58 +01:00
|
|
|
#include "../gfx/video_thread_wrapper.c"
|
2014-10-01 23:27:52 +02:00
|
|
|
#include "../audio/audio_thread_wrapper.c"
|
2012-04-14 14:08:00 +02:00
|
|
|
#endif
|
2012-04-14 01:02:37 +02:00
|
|
|
|
2013-02-16 12:30:26 +01:00
|
|
|
|
2012-04-14 01:02:37 +02:00
|
|
|
/*============================================================
|
|
|
|
NETPLAY
|
|
|
|
============================================================ */
|
2016-09-29 21:07:10 +02:00
|
|
|
#ifdef HAVE_NETWORKING
|
2017-03-04 22:20:11 -05:00
|
|
|
#define JSON_STATIC /* must come before netplay_room_parse and jsonsax_full */
|
2016-12-13 21:01:31 -05:00
|
|
|
#include "../network/netplay/netplay_delta.c"
|
2016-12-13 20:16:22 -05:00
|
|
|
#include "../network/netplay/netplay_frontend.c"
|
2016-12-13 21:01:31 -05:00
|
|
|
#include "../network/netplay/netplay_handshake.c"
|
2016-12-13 20:50:17 -05:00
|
|
|
#include "../network/netplay/netplay_init.c"
|
2016-12-13 20:42:53 -05:00
|
|
|
#include "../network/netplay/netplay_io.c"
|
2016-12-13 20:52:44 -05:00
|
|
|
#include "../network/netplay/netplay_sync.c"
|
2016-12-02 22:54:14 -05:00
|
|
|
#include "../network/netplay/netplay_discovery.c"
|
2016-12-13 21:01:31 -05:00
|
|
|
#include "../network/netplay/netplay_buf.c"
|
2017-03-04 22:14:22 -05:00
|
|
|
#include "../network/netplay/netplay_room_parse.c"
|
2015-03-20 17:56:00 +01:00
|
|
|
#include "../libretro-common/net/net_compat.c"
|
2016-05-01 21:18:45 +02:00
|
|
|
#include "../libretro-common/net/net_socket.c"
|
2015-03-20 17:56:00 +01:00
|
|
|
#include "../libretro-common/net/net_http.c"
|
2016-11-29 23:26:53 -05:00
|
|
|
#include "../libretro-common/net/net_natt.c"
|
2017-03-04 22:14:22 -05:00
|
|
|
#include "../libretro-common/formats/json/jsonsax_full.c"
|
2016-03-03 00:26:26 +01:00
|
|
|
#ifndef HAVE_SOCKET_LEGACY
|
|
|
|
#include "../libretro-common/net/net_ifinfo.c"
|
|
|
|
#endif
|
2015-05-05 17:36:58 +02:00
|
|
|
#include "../tasks/task_http.c"
|
2016-12-02 22:54:14 -05:00
|
|
|
#include "../tasks/task_netplay_lan_scan.c"
|
2017-02-20 19:08:31 -05:00
|
|
|
#include "../tasks/task_netplay_nat_traversal.c"
|
2016-11-30 17:37:32 +01:00
|
|
|
#include "../tasks/task_wifi.c"
|
2017-01-22 18:39:07 -05:00
|
|
|
#include "../tasks/task_netplay_find_content.c"
|
2012-04-14 14:08:00 +02:00
|
|
|
#endif
|
2012-04-14 01:02:37 +02:00
|
|
|
|
2015-05-05 17:58:37 +02:00
|
|
|
/*============================================================
|
|
|
|
DATA RUNLOOP
|
|
|
|
============================================================ */
|
2016-12-20 21:44:13 +01:00
|
|
|
#include "../tasks/task_powerstate.c"
|
2016-01-24 00:40:34 +01:00
|
|
|
#include "../tasks/task_content.c"
|
2016-09-19 02:57:23 +02:00
|
|
|
#include "../tasks/task_save.c"
|
2016-05-10 09:33:11 +02:00
|
|
|
#include "../tasks/task_image.c"
|
2015-05-05 17:58:37 +02:00
|
|
|
#include "../tasks/task_file_transfer.c"
|
2015-11-27 19:54:08 -03:00
|
|
|
#ifdef HAVE_ZLIB
|
|
|
|
#include "../tasks/task_decompress.c"
|
|
|
|
#endif
|
2015-05-05 18:05:59 +02:00
|
|
|
#ifdef HAVE_LIBRETRODB
|
|
|
|
#include "../tasks/task_database.c"
|
2015-09-16 22:39:47 +02:00
|
|
|
#include "../tasks/task_database_cue.c"
|
2015-05-05 18:05:59 +02:00
|
|
|
#endif
|
2015-05-05 17:58:37 +02:00
|
|
|
|
2012-08-20 03:30:09 +02:00
|
|
|
/*============================================================
|
|
|
|
SCREENSHOTS
|
|
|
|
============================================================ */
|
2016-05-17 14:31:33 +02:00
|
|
|
#include "../tasks/task_screenshot.c"
|
2014-07-25 20:56:31 +02:00
|
|
|
|
|
|
|
/*============================================================
|
2014-08-15 17:24:28 +02:00
|
|
|
PLAYLISTS
|
2014-07-25 20:56:31 +02:00
|
|
|
============================================================ */
|
2014-08-15 17:24:28 +02:00
|
|
|
#include "../playlist.c"
|
2014-07-25 20:56:31 +02:00
|
|
|
|
2012-04-14 01:02:37 +02:00
|
|
|
/*============================================================
|
|
|
|
MENU
|
|
|
|
============================================================ */
|
2013-04-18 15:04:09 +02:00
|
|
|
#ifdef HAVE_MENU
|
2015-12-06 17:55:27 +01:00
|
|
|
#include "../menu/menu_driver.c"
|
2015-06-15 06:25:41 +02:00
|
|
|
#include "../menu/menu_input.c"
|
2016-09-16 16:39:30 +02:00
|
|
|
#include "../menu/menu_event.c"
|
2015-06-12 16:07:12 +02:00
|
|
|
#include "../menu/menu_entries.c"
|
2015-02-14 01:51:28 +01:00
|
|
|
#include "../menu/menu_setting.c"
|
2015-06-12 16:01:46 +02:00
|
|
|
#include "../menu/menu_cbs.c"
|
2016-01-25 04:32:52 +01:00
|
|
|
#include "../menu/menu_content.c"
|
2016-09-15 00:20:43 +02:00
|
|
|
#include "../menu/widgets/menu_entry.c"
|
2016-12-16 08:59:05 +01:00
|
|
|
#include "../menu/widgets/menu_filebrowser.c"
|
2016-09-15 15:57:25 +02:00
|
|
|
#include "../menu/widgets/menu_dialog.c"
|
2016-09-15 19:23:32 +02:00
|
|
|
#include "../menu/widgets/menu_input_dialog.c"
|
2016-09-15 20:35:39 +02:00
|
|
|
#include "../menu/widgets/menu_input_bind_dialog.c"
|
2016-09-15 00:10:37 +02:00
|
|
|
#include "../menu/widgets/menu_list.c"
|
2017-01-12 11:31:24 +01:00
|
|
|
#include "../menu/widgets/menu_osk.c"
|
2015-06-12 16:01:46 +02: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 16:24:05 +02:00
|
|
|
#include "../menu/cbs/menu_cbs_label.c"
|
2016-10-20 15:57:35 +02:00
|
|
|
#include "../menu/cbs/menu_cbs_sublabel.c"
|
2015-06-12 16:01:46 +02: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 19:54:23 +01:00
|
|
|
#include "../menu/menu_shader.c"
|
|
|
|
#include "../menu/menu_navigation.c"
|
2015-04-21 14:44:14 +02:00
|
|
|
#include "../menu/menu_display.c"
|
2015-05-11 11:11:23 +02:00
|
|
|
#include "../menu/menu_displaylist.c"
|
2014-10-28 19:54:23 +01:00
|
|
|
#include "../menu/menu_animation.c"
|
2015-03-09 14:39:39 +01:00
|
|
|
|
|
|
|
#include "../menu/drivers/null.c"
|
2015-10-03 03:15:47 +02:00
|
|
|
#include "../menu/drivers/menu_generic.c"
|
2015-11-08 23:20:46 +01:00
|
|
|
|
|
|
|
#include "../menu/drivers_display/menu_display_null.c"
|
|
|
|
|
|
|
|
#ifdef HAVE_OPENGL
|
|
|
|
#include "../menu/drivers_display/menu_display_gl.c"
|
|
|
|
#endif
|
|
|
|
|
2016-02-17 05:22:17 +01:00
|
|
|
#ifdef HAVE_VULKAN
|
|
|
|
#include "../menu/drivers_display/menu_display_vulkan.c"
|
|
|
|
#endif
|
|
|
|
|
2016-08-23 02:49:53 +02:00
|
|
|
#ifdef HAVE_VITA2D
|
|
|
|
#include "../menu/drivers_display/menu_display_vita2d.c"
|
|
|
|
#endif
|
|
|
|
|
2016-09-29 20:14:12 +01:00
|
|
|
#ifdef _3DS
|
|
|
|
#include "../menu/drivers_display/menu_display_ctr.c"
|
|
|
|
#endif
|
|
|
|
|
2016-12-01 12:13:36 -05:00
|
|
|
#ifdef HAVE_CACA
|
|
|
|
#include "../menu/drivers_display/menu_display_caca.c"
|
|
|
|
#endif
|
|
|
|
|
2017-01-21 17:41:20 -05:00
|
|
|
#ifdef DJGPP
|
|
|
|
#include "../menu/drivers_display/menu_display_vga.c"
|
|
|
|
#endif
|
|
|
|
|
2017-01-04 02:07:19 -05:00
|
|
|
#if defined(_WIN32) && !defined(_XBOX)
|
|
|
|
#include "../menu/drivers_display/menu_display_gdi.c"
|
|
|
|
#endif
|
|
|
|
|
2014-04-14 02:32:54 +02:00
|
|
|
#endif
|
|
|
|
|
2016-02-17 05:22:17 +01:00
|
|
|
|
2014-02-26 21:10:17 +01:00
|
|
|
#ifdef HAVE_RGUI
|
2015-01-26 10:54:13 +01:00
|
|
|
#include "../menu/drivers/rgui.c"
|
2014-02-26 21:10:17 +01:00
|
|
|
#endif
|
|
|
|
|
2017-01-14 04:06:56 -05:00
|
|
|
#if defined(HAVE_OPENGL) || defined(HAVE_VITA2D) || defined(_3DS) || defined(_MSC_VER)
|
2014-10-09 05:14:41 +02:00
|
|
|
#ifdef HAVE_XMB
|
2015-01-26 10:54:13 +01:00
|
|
|
#include "../menu/drivers/xmb.c"
|
2014-02-26 21:10:17 +01:00
|
|
|
#endif
|
|
|
|
|
2015-11-02 23:23:54 +01:00
|
|
|
#ifdef HAVE_MATERIALUI
|
2015-11-02 20:46:22 +01:00
|
|
|
#include "../menu/drivers/materialui.c"
|
2014-09-13 06:25:41 +02:00
|
|
|
#endif
|
|
|
|
|
2016-04-25 14:58:47 +02:00
|
|
|
#ifdef HAVE_NUKLEAR
|
2016-05-25 18:45:35 -05:00
|
|
|
#include "../menu/drivers/nuklear/nk_common.c"
|
|
|
|
#include "../menu/drivers/nuklear/nk_menu.c"
|
2016-05-25 19:06:54 -05:00
|
|
|
#include "../menu/drivers/nuklear/nk_wnd_shader_parameters.c"
|
2016-05-25 19:58:16 -05:00
|
|
|
#include "../menu/drivers/nuklear/nk_wnd_file_picker.c"
|
|
|
|
#include "../menu/drivers/nuklear/nk_wnd_settings.c"
|
2016-05-25 19:38:20 -05:00
|
|
|
#include "../menu/drivers/nuklear/nk_wnd_main.c"
|
2016-04-25 14:58:47 +02:00
|
|
|
#include "../menu/drivers/nuklear.c"
|
2016-02-14 14:10:06 -05:00
|
|
|
#endif
|
|
|
|
|
2015-10-02 02:15:23 +02:00
|
|
|
#ifdef HAVE_ZARCH
|
|
|
|
#include "../menu/drivers/zarch.c"
|
|
|
|
#endif
|
|
|
|
|
2014-09-13 06:25:41 +02:00
|
|
|
#endif
|
|
|
|
|
2016-06-07 15:23:07 +02:00
|
|
|
#ifdef HAVE_NETWORKGAMEPAD
|
2016-05-09 17:37:29 +02:00
|
|
|
#include "../input/input_remote.c"
|
2016-05-26 19:43:15 +02:00
|
|
|
#include "../cores/libretro-net-retropad/net_retropad_core.c"
|
2015-11-25 23:20:08 -05:00
|
|
|
#endif
|
|
|
|
|
2016-05-09 20:30:47 +02:00
|
|
|
#include "../command.c"
|
2015-04-13 11:15:40 +02:00
|
|
|
|
2012-11-20 03:40:39 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2017-01-01 20:04:10 -05:00
|
|
|
#if defined(HAVE_NETWORKING)
|
|
|
|
#include "../libretro-common/net/net_http_parse.c"
|
|
|
|
#endif
|
|
|
|
|
2012-11-19 05:43:57 +01:00
|
|
|
/*============================================================
|
2014-09-02 19:41:43 +02:00
|
|
|
DEPENDENCIES
|
2012-11-19 05:43:57 +01:00
|
|
|
============================================================ */
|
2015-03-14 05:24:57 +01:00
|
|
|
#ifdef WANT_ZLIB
|
2017-03-25 10:05:33 +01: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 21:25:08 +02:00
|
|
|
#endif
|
|
|
|
|
2014-09-02 19:41:43 +02:00
|
|
|
#ifdef HAVE_7ZIP
|
2014-09-02 21:45:14 +02:00
|
|
|
#include "../deps/7zip/7zIn.c"
|
|
|
|
#include "../deps/7zip/7zAlloc.c"
|
|
|
|
#include "../deps/7zip/Bra86.c"
|
|
|
|
#include "../deps/7zip/7zFile.c"
|
|
|
|
#include "../deps/7zip/7zStream.c"
|
|
|
|
#include "../deps/7zip/7zBuf2.c"
|
|
|
|
#include "../deps/7zip/LzmaDec.c"
|
|
|
|
#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"
|
|
|
|
#include "../deps/7zip/7zBuf.c"
|
2014-09-02 19:41:43 +02:00
|
|
|
#endif
|
|
|
|
|
2012-11-20 04:15:12 +01:00
|
|
|
/*============================================================
|
2013-01-02 15:23:22 +01:00
|
|
|
XML
|
|
|
|
============================================================ */
|
2014-12-15 21:34:22 +01:00
|
|
|
#if 0
|
2014-01-22 08:39:28 -03:00
|
|
|
#ifndef HAVE_LIBXML2
|
2013-01-02 15:23:22 +01:00
|
|
|
#define RXML_LIBXML2_COMPAT
|
2015-02-19 00:04:03 +01:00
|
|
|
#include "../libretro-common/formats/xml/rxml.c"
|
2014-01-22 08:39:28 -03:00
|
|
|
#endif
|
2014-12-15 21:34:22 +01:00
|
|
|
#endif
|
|
|
|
|
2014-05-22 22:00:59 +02:00
|
|
|
/*============================================================
|
|
|
|
AUDIO UTILS
|
|
|
|
============================================================ */
|
2016-12-12 13:35:17 +01:00
|
|
|
#include "../libretro-common/audio/conversion/s16_to_float.c"
|
|
|
|
#include "../libretro-common/audio/conversion/float_to_s16.c"
|
2017-01-24 00:29:40 +01:00
|
|
|
#include "../libretro-common/audio/audio_mix.c"
|
2012-11-20 04:15:12 +01:00
|
|
|
|
2014-12-30 21:12:43 +01:00
|
|
|
/*============================================================
|
2015-01-19 22:47:09 +01:00
|
|
|
LIBRETRODB
|
2014-12-30 21:12:43 +01:00
|
|
|
============================================================ */
|
2015-01-22 03:58:04 +01:00
|
|
|
#ifdef HAVE_LIBRETRODB
|
2015-02-19 00:47:19 +01: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 18:09:19 +01:00
|
|
|
#include "../database_info.c"
|
2015-01-22 03:58:04 +01:00
|
|
|
#endif
|
2014-12-30 21:12:43 +01:00
|
|
|
|
2017-02-15 21:03:57 +01: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 22:45:01 +01:00
|
|
|
/*============================================================
|
|
|
|
HTTP SERVER
|
|
|
|
============================================================ */
|
|
|
|
#if defined(HAVE_HTTPSERVER) && defined(HAVE_ZLIB)
|
2016-09-11 14:37:29 +02:00
|
|
|
#include "../deps/civetweb/civetweb.c"
|
2016-09-12 17:21:00 +02:00
|
|
|
#include "network/httpserver/httpserver.c"
|
2016-07-31 22:45:01 +01:00
|
|
|
#endif
|
2015-04-16 20:23:06 +02:00
|
|
|
|
2012-11-20 03:40:39 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
2016-05-16 16:42:33 +02:00
|
|
|
#endif
|