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
|
2015-01-07 17:46:50 +01:00
|
|
|
* Copyright (C) 2011-2015 - 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/>.
|
|
|
|
*/
|
|
|
|
|
2015-01-22 03:58:04 +01:00
|
|
|
#define HAVE_LIBRETRODB
|
|
|
|
|
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-09-14 06:29:40 +02:00
|
|
|
#if defined(_MSC_VER)
|
2014-10-21 08:02:40 +02:00
|
|
|
#include <compat/posix_string.h>
|
2012-04-14 01:02:37 +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
|
|
|
|
|
|
|
#if defined(HAVE_LOGGER) && defined(__PSL1GHT__)
|
2014-06-01 16:09:12 +02:00
|
|
|
#include "../logger/netlogger/psl1ght_logger.c"
|
2012-12-16 04:13:31 +01:00
|
|
|
#elif defined(HAVE_LOGGER) && !defined(ANDROID)
|
2014-06-01 16:09:12 +02:00
|
|
|
#include "../logger/netlogger/logger.c"
|
2012-11-25 05:41:12 +01:00
|
|
|
#endif
|
|
|
|
|
2012-09-03 18:05:23 -04:00
|
|
|
#ifdef HW_DOL
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../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
|
|
|
|
2013-01-11 22:46:14 +01:00
|
|
|
#ifdef HAVE_ZLIB
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../file_extract.c"
|
2014-09-12 21:25:08 +02:00
|
|
|
#include "../decompress/zip_support.c"
|
2012-11-03 08:42:33 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
PERFORMANCE
|
|
|
|
============================================================ */
|
|
|
|
|
|
|
|
#ifdef ANDROID
|
2013-11-27 22:57:49 +01:00
|
|
|
#include "../performance/performance_android.c"
|
2012-11-03 08:42:33 +01:00
|
|
|
#endif
|
|
|
|
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../performance.c"
|
2012-11-03 08:42:33 +01:00
|
|
|
|
2012-04-14 01:02:37 +02:00
|
|
|
/*============================================================
|
|
|
|
COMPATIBILITY
|
|
|
|
============================================================ */
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../compat/compat.c"
|
2015-01-20 01:00:17 +01:00
|
|
|
#include "../libretro-sdk/compat/compat_fnmatch.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
|
|
|
|
2014-10-22 03:35:04 +02:00
|
|
|
#include "../libretro-sdk/file/config_file.c"
|
|
|
|
#include "../libretro-sdk/file/config_file_userdata.c"
|
2013-04-04 14:15:13 +02:00
|
|
|
#include "../core_options.c"
|
2013-06-24 13:52:14 +02:00
|
|
|
|
2012-11-17 17:16:11 +01:00
|
|
|
/*============================================================
|
|
|
|
CHEATS
|
|
|
|
============================================================ */
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../cheats.c"
|
|
|
|
#include "../hash.c"
|
2012-11-17 17:16:11 +01:00
|
|
|
|
2015-01-15 18:37:43 +01:00
|
|
|
/*============================================================
|
|
|
|
UI COMMON CONTEXT
|
|
|
|
============================================================ */
|
|
|
|
#if defined(_WIN32) && !defined(_XBOX)
|
|
|
|
#include "../gfx/drivers_context/win32_common.c"
|
2015-01-19 01:49:08 +01:00
|
|
|
#include "../gfx/drivers_context/win32_dwm_common.c"
|
2015-01-15 18:37:43 +01:00
|
|
|
#endif
|
|
|
|
|
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"
|
2014-09-14 06:15:24 +02:00
|
|
|
#elif defined(_XBOX) || defined(HAVE_WIN32_D3D9)
|
2015-01-12 22:19:31 +01:00
|
|
|
#include "../gfx/drivers_context/d3d_ctx.cpp"
|
2012-11-03 08:42:33 +01:00
|
|
|
#elif defined(ANDROID)
|
2015-01-12 22:19:31 +01:00
|
|
|
#include "../gfx/drivers_context/androidegl_ctx.c"
|
2014-05-20 02:48:11 +02:00
|
|
|
#elif defined(__QNX__)
|
2015-01-12 22:19:31 +01:00
|
|
|
#include "../gfx/drivers_context/bbqnx_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"
|
2012-05-27 22:58:14 +02:00
|
|
|
#endif
|
|
|
|
|
2013-07-28 19:55:18 +02:00
|
|
|
|
2013-07-07 21:17:58 +02:00
|
|
|
#if defined(HAVE_OPENGL)
|
|
|
|
|
2013-07-07 21:25:22 +02:00
|
|
|
#if defined(HAVE_KMS)
|
2015-01-12 22:19:31 +01:00
|
|
|
#include "../gfx/drivers_context/drm_egl_ctx.c"
|
2013-07-07 21:25:22 +02:00
|
|
|
#endif
|
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-13 18:56:45 -03:00
|
|
|
#if defined(HAVE_X11) && !defined(HAVE_OPENGLES)
|
2015-01-12 22:19:31 +01:00
|
|
|
#include "../gfx/drivers_context/glx_ctx.c"
|
2013-07-07 21:17:58 +02:00
|
|
|
#endif
|
2014-09-14 06:15:24 +02:00
|
|
|
|
2013-07-07 21:17:58 +02:00
|
|
|
#if defined(HAVE_EGL)
|
2015-01-12 22:19:31 +01:00
|
|
|
#include "../gfx/drivers_context/xegl_ctx.c"
|
2013-07-07 21:17:58 +02:00
|
|
|
#endif
|
|
|
|
|
2014-09-14 06:15:24 +02:00
|
|
|
#if defined(_WIN32) && !defined(_XBOX)
|
2015-01-12 22:19:31 +01:00
|
|
|
#include "../gfx/drivers_context/wgl_ctx.c"
|
2014-09-14 06:15:24 +02:00
|
|
|
#endif
|
|
|
|
|
2013-07-07 21:17:58 +02:00
|
|
|
#endif
|
|
|
|
|
2013-07-07 21:25:22 +02:00
|
|
|
#ifdef HAVE_X11
|
2015-01-12 22:19:31 +01:00
|
|
|
#include "../gfx/drivers_context/x11_common.c"
|
2013-07-07 21:25:22 +02:00
|
|
|
#endif
|
|
|
|
|
2012-05-27 22:58:14 +02:00
|
|
|
|
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
|
|
|
|
============================================================ */
|
|
|
|
|
2012-05-27 22:39:29 +02:00
|
|
|
#if defined(__CELLOS_LV2__)
|
2014-02-25 21:24:15 +01:00
|
|
|
#include "../gfx/image/image_ps3.c"
|
2012-08-05 17:18:19 +02:00
|
|
|
#elif defined(_XBOX1)
|
2014-02-25 21:24:15 +01:00
|
|
|
#include "../gfx/image/image_xdk1.c"
|
2014-05-28 21:14:11 +02:00
|
|
|
#else
|
|
|
|
#include "../gfx/image/image_rpng.c"
|
2013-07-07 19:22:54 +02:00
|
|
|
#endif
|
|
|
|
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../gfx/rpng/rpng.c"
|
2012-05-28 05:19:04 +02:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
VIDEO DRIVER
|
|
|
|
============================================================ */
|
|
|
|
|
2012-07-28 22:58:08 +02:00
|
|
|
#if defined(HAVE_OPENGL)
|
2014-10-26 02:32:10 +01:00
|
|
|
#include "../libretro-sdk/gfx/math/matrix_4x4.c"
|
2012-04-14 13:42:25 +02:00
|
|
|
#elif defined(GEKKO)
|
2012-08-08 22:39:19 +02:00
|
|
|
#ifdef HW_RVL
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../wii/vi_encoder.c"
|
|
|
|
#include "../wii/mem2_manager.c"
|
2012-08-08 22:39:19 +02:00
|
|
|
#endif
|
2012-04-14 13:42:25 +02:00
|
|
|
#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"
|
2014-10-23 04:48:34 +02:00
|
|
|
#include "../libretro-sdk/gfx/math/matrix_3x3.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
|
|
|
|
|
2012-07-08 21:42:26 +02:00
|
|
|
#ifdef _XBOX
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../xdk/xdk_resources.cpp"
|
2012-07-07 14:06:21 +02:00
|
|
|
#endif
|
|
|
|
|
2013-01-10 03:34:43 +01:00
|
|
|
#ifdef HAVE_OPENGL
|
2015-01-12 06:45:12 +01:00
|
|
|
#include "../gfx/drivers/gl.c"
|
2014-10-02 13:32:42 +02:00
|
|
|
#include "../gfx/gl_common.c"
|
2013-08-11 15:06:42 +02:00
|
|
|
|
2013-08-11 15:10:56 +02:00
|
|
|
#ifndef HAVE_PSGL
|
2014-10-21 05:05:52 +02:00
|
|
|
#include "../libretro-sdk/glsym/rglgen.c"
|
2013-07-05 19:29:48 +02:00
|
|
|
#ifdef HAVE_OPENGLES2
|
2014-10-21 05:05:52 +02:00
|
|
|
#include "../libretro-sdk/glsym/glsym_es2.c"
|
2013-07-05 19:29:48 +02:00
|
|
|
#else
|
2014-10-21 05:05:52 +02:00
|
|
|
#include "../libretro-sdk/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
|
|
|
|
|
2014-09-14 06:15:24 +02:00
|
|
|
#if defined(_XBOX) || defined(HAVE_WIN32_D3D9)
|
2014-09-14 06:45:47 +02:00
|
|
|
#include "../gfx/d3d/d3d_wrapper.cpp"
|
|
|
|
#include "../gfx/d3d/d3d.cpp"
|
2014-09-14 06:15:24 +02:00
|
|
|
#ifndef _XBOX
|
2014-09-14 06:45:47 +02:00
|
|
|
#include "../gfx/d3d/render_chain.cpp"
|
2014-09-14 06:15:24 +02:00
|
|
|
#endif
|
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"
|
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"
|
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
|
|
|
|
2012-05-27 04:02:07 +02:00
|
|
|
/*============================================================
|
|
|
|
FONTS
|
|
|
|
============================================================ */
|
|
|
|
|
2015-01-12 23:34:10 +01:00
|
|
|
#include "../gfx/font_renderer_driver.c"
|
|
|
|
#include "../gfx/drivers_font_renderer/bitmapfont.c"
|
2014-02-05 12:30:55 -03:00
|
|
|
|
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
|
|
|
|
|
2014-10-18 20:19:44 -04:00
|
|
|
#if defined(__APPLE__)
|
2015-01-12 23:34:10 +01:00
|
|
|
#include "../gfx/drivers_font_renderer/coretext.c"
|
2014-10-18 20:19:44 -04:00
|
|
|
#endif
|
|
|
|
|
2012-12-15 00:17:43 +01:00
|
|
|
#ifdef HAVE_OPENGL
|
2015-01-12 23:19:21 +01:00
|
|
|
#include "../gfx/font_gl_driver.c"
|
2012-12-15 00:17:43 +01:00
|
|
|
#endif
|
|
|
|
|
2014-09-14 06:15:24 +02:00
|
|
|
#if defined(_XBOX) || defined(HAVE_WIN32_D3D9)
|
2015-01-12 23:19:21 +01:00
|
|
|
#include "../gfx/font_d3d_driver.c"
|
2012-12-15 03:59:31 +01:00
|
|
|
#endif
|
|
|
|
|
2014-10-27 16:46:57 +01:00
|
|
|
#if defined(HAVE_WIN32_D3D9)
|
2015-01-12 23:38:21 +01:00
|
|
|
#include "../gfx/drivers_font/d3d_w32_font.cpp"
|
2014-09-14 06:15:24 +02: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
|
|
|
|
|
|
|
|
#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
|
|
|
|
2014-09-25 06:56:23 +02:00
|
|
|
#if defined(_XBOX360)
|
2015-01-12 23:38:21 +01:00
|
|
|
#include "../gfx/drivers_font/xdk360_fonts.cpp"
|
2012-09-14 11:07:50 +02:00
|
|
|
#endif
|
2012-04-14 01:02:37 +02:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
INPUT
|
|
|
|
============================================================ */
|
2014-09-30 17:48:31 +02:00
|
|
|
#include "../input/input_autodetect.c"
|
2015-01-12 20:29:01 +01:00
|
|
|
#include "../input/input_joypad_driver.c"
|
2015-01-10 20:10:45 +01:00
|
|
|
#include "../input/input_joypad.c"
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../input/input_common.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-01-18 19:28:51 +01:00
|
|
|
#include "../input/input_sensor.c"
|
2013-12-10 19:42:42 +01:00
|
|
|
#include "../input/keyboard_line.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"
|
2012-12-23 18:39:34 +01:00
|
|
|
#endif
|
2012-12-20 20:48:09 +01: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-01-12 06:28:39 +01:00
|
|
|
#include "../input/drivers_joypad/ps3_input_joypad.c"
|
2014-06-09 14:32:45 +02:00
|
|
|
#include "../input/autoconf/builtin_ps3.c"
|
2012-11-23 02:40:03 +01:00
|
|
|
#elif defined(SN_TARGET_PSP2) || defined(PSP)
|
2015-01-12 06:16:52 +01:00
|
|
|
#include "../input/drivers/psp_input.c"
|
2015-01-12 06:28:39 +01:00
|
|
|
#include "../input/drivers_joypad/psp_input_joypad.c"
|
2014-06-09 18:57:17 +02:00
|
|
|
#include "../input/autoconf/builtin_psp.c"
|
2012-04-14 13:42:25 +02:00
|
|
|
#elif defined(GEKKO)
|
2014-02-26 23:07:16 +01:00
|
|
|
#ifdef HAVE_LIBSICKSAXIS
|
2015-01-12 06:28:39 +01:00
|
|
|
#include "../input/drivers_joypad/gx_input_sicksaxis.c"
|
2014-02-26 23:07:16 +01:00
|
|
|
#endif
|
2015-01-12 06:16:52 +01:00
|
|
|
#include "../input/drivers/gx_input.c"
|
2015-01-12 06:28:39 +01:00
|
|
|
#include "../input/drivers_joypad/gx_input_joypad.c"
|
2014-06-09 21:56:22 +02:00
|
|
|
#include "../input/autoconf/builtin_gx.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-01-12 06:28:39 +01:00
|
|
|
#include "../input/drivers_joypad/xdk_xinput_input_joypad.c"
|
2014-06-09 18:17:37 +02:00
|
|
|
#include "../input/autoconf/builtin_xdk.c"
|
2014-09-14 06:15:24 +02:00
|
|
|
#elif defined(_WIN32)
|
|
|
|
#include "../input/autoconf/builtin_win.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-01-12 06:28:39 +01:00
|
|
|
#include "../input/drivers_joypad/android_input_joypad.c"
|
2014-10-04 15:36:04 +02:00
|
|
|
#elif defined(__APPLE__)
|
2015-01-12 06:16:52 +01:00
|
|
|
#include "../input/drivers/apple_input.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-01-12 06:28:39 +01:00
|
|
|
#include "../input/drivers_joypad/qnx_input_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"
|
2013-01-09 05:57:02 +01:00
|
|
|
#endif
|
|
|
|
|
2014-10-04 15:36:04 +02:00
|
|
|
#if defined(__APPLE__)
|
2014-10-04 23:03:55 +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"
|
2014-10-04 15:36:04 +02:00
|
|
|
|
|
|
|
#ifdef HAVE_HID
|
2015-01-12 06:28:39 +01:00
|
|
|
#include "../input/drivers_joypad/apple_joypad_hid.c"
|
2014-10-04 15:36:04 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef IOS
|
2015-01-12 06:28:39 +01:00
|
|
|
#include "../input/drivers_joypad/apple_joypad_ios.c"
|
2014-10-04 15:36:04 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#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"
|
2014-09-14 06:15:24 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_WINXINPUT
|
2015-01-12 06:28:39 +01:00
|
|
|
#include "../input/drivers_joypad/winxinput_joypad.c"
|
2014-09-14 06:15:24 +02:00
|
|
|
#endif
|
|
|
|
|
2013-11-16 16:02:04 +01:00
|
|
|
#if defined(__CELLOS_LV2__)
|
2015-01-12 19:02:30 +01:00
|
|
|
#include "../osk/drivers/ps3_osk.c"
|
2013-11-16 16:02:04 +01:00
|
|
|
#endif
|
2014-08-14 06:40:33 +02:00
|
|
|
|
2015-01-12 19:02:30 +01:00
|
|
|
#include "../osk/drivers/nullosk.c"
|
2013-11-16 16:02:04 +01:00
|
|
|
|
2013-07-28 20:04:11 +02:00
|
|
|
#if defined(__linux__) && !defined(ANDROID)
|
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
|
2015-01-12 06:16:52 +01:00
|
|
|
#include "../input/drivers/udev_input.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-01-12 06:28:39 +01:00
|
|
|
#include "../input/drivers_joypad/nullinput_joypad.c"
|
2012-06-20 06:39:52 +02:00
|
|
|
|
2014-10-27 14:58:51 +01:00
|
|
|
/*============================================================
|
|
|
|
KEYBOARD EVENT
|
|
|
|
============================================================ */
|
|
|
|
|
|
|
|
#if defined(_WIN32) && !defined(_XBOX)
|
|
|
|
#include "../input/keyboard_event_win32.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_X11
|
|
|
|
#include "../input/keyboard_event_x11.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __APPLE__
|
|
|
|
#include "../input/keyboard_event_apple.c"
|
|
|
|
#endif
|
|
|
|
|
2014-10-27 19:25:59 +01:00
|
|
|
#ifdef HAVE_XKBCOMMON
|
|
|
|
#include "../input/keyboard_event_xkb.c"
|
|
|
|
#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
|
2015-01-12 16:00:13 +01:00
|
|
|
#include "../gfx/video_state_python.c"
|
2013-07-07 21:25:22 +02:00
|
|
|
#endif
|
|
|
|
|
2012-04-14 01:02:37 +02:00
|
|
|
/*============================================================
|
|
|
|
FIFO BUFFER
|
|
|
|
============================================================ */
|
2015-01-11 05:43:10 +01:00
|
|
|
#include "../libretro-sdk/queues/fifo_buffer.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
|
|
|
============================================================ */
|
2015-01-12 22:11:13 +01:00
|
|
|
#include "../audio/audio_resampler_driver.c"
|
|
|
|
#include "../audio/drivers_resampler/sinc.c"
|
|
|
|
#include "../audio/drivers_resampler/nearest.c"
|
|
|
|
#include "../audio/drivers_resampler/cc_resampler.c"
|
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
|
|
|
|
|
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"
|
2014-02-17 14:26:03 +01:00
|
|
|
#elif defined(PSP)
|
2015-01-12 05:05:56 +01:00
|
|
|
#include "../audio/drivers/psp1_audio.c"
|
2013-01-09 22:04:28 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_XAUDIO
|
2015-01-12 05:05:56 +01:00
|
|
|
#include "../audio/drivers/xaudio.c"
|
2015-01-13 00:25:01 +01:00
|
|
|
#include "../audio/drivers/xaudio-c.cpp"
|
2013-01-09 22:04:28 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#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"
|
2015-01-18 18:28:14 +01:00
|
|
|
#include "../gfx/video_monitor.c"
|
2015-01-18 23:17:16 +01:00
|
|
|
#include "../gfx/video_pixel_converter.c"
|
2015-01-18 23:59:57 +01:00
|
|
|
#include "../gfx/video_viewport.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"
|
2015-01-18 18:47:53 +01:00
|
|
|
#include "../audio/audio_monitor.c"
|
2015-01-12 19:29:55 +01:00
|
|
|
#include "../osk/osk_driver.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"
|
2015-01-12 20:02:39 +01:00
|
|
|
#include "../menu/menu_driver.c"
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../driver.c"
|
2012-11-03 16:38:03 +01:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
SCALERS
|
|
|
|
============================================================ */
|
2014-10-23 04:34:35 +02:00
|
|
|
#include "../libretro-sdk/gfx/scaler/scaler_filter.c"
|
|
|
|
#include "../libretro-sdk/gfx/scaler/pixconv.c"
|
|
|
|
#include "../libretro-sdk/gfx/scaler/scaler.c"
|
|
|
|
#include "../libretro-sdk/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"
|
|
|
|
|
|
|
|
#include "../audio/audio_filters/echo.c"
|
|
|
|
#include "../audio/audio_filters/eq.c"
|
|
|
|
#include "../audio/audio_filters/chorus.c"
|
|
|
|
#include "../audio/audio_filters/iir.c"
|
|
|
|
#include "../audio/audio_filters/panning.c"
|
|
|
|
#include "../audio/audio_filters/phaser.c"
|
|
|
|
#include "../audio/audio_filters/reverb.c"
|
|
|
|
#include "../audio/audio_filters/wahwah.c"
|
2014-04-16 02:09:09 +02:00
|
|
|
#endif
|
2012-04-14 01:02:37 +02:00
|
|
|
/*============================================================
|
|
|
|
DYNAMIC
|
|
|
|
============================================================ */
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../dynamic.c"
|
2013-04-14 16:24:19 +02:00
|
|
|
#include "../dynamic_dummy.c"
|
2014-11-20 07:03:25 +01:00
|
|
|
#include "../gfx/video_filter.c"
|
2015-01-13 00:13:28 +01:00
|
|
|
#include "../audio/audio_dsp_filter.c"
|
2014-04-16 02:09:09 +02:00
|
|
|
|
2012-04-14 01:02:37 +02:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
FILE
|
|
|
|
============================================================ */
|
2014-10-21 23:44:03 +02:00
|
|
|
#include "../content.c"
|
2014-10-22 00:23:06 +02:00
|
|
|
#include "../libretro-sdk/file/file_path.c"
|
2014-10-22 01:13:05 +02:00
|
|
|
#include "../libretro-sdk/file/dir_list.c"
|
2014-10-21 20:01:12 +02:00
|
|
|
#include "../libretro-sdk/string/string_list.c"
|
2014-10-21 23:53:09 +02:00
|
|
|
#include "../file_ops.c"
|
2014-10-21 19:23:28 +02:00
|
|
|
#include "../libretro-sdk/file/file_list.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
MESSAGE
|
|
|
|
============================================================ */
|
2015-01-11 05:35:47 +01:00
|
|
|
#include "../libretro-sdk/queues/message_queue.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
PATCH
|
|
|
|
============================================================ */
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../patch.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
SETTINGS
|
|
|
|
============================================================ */
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../settings.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
REWIND
|
|
|
|
============================================================ */
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../rewind.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
|
|
|
|
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
|
2013-07-27 12:59:23 +02:00
|
|
|
#elif defined(_XBOX)
|
2015-01-12 21:47:01 +01:00
|
|
|
#include "../frontend/drivers/platform_xdk.c"
|
2013-07-27 12:59:23 +02:00
|
|
|
#elif defined(PSP)
|
2015-01-12 21:47:01 +01:00
|
|
|
#include "../frontend/drivers/platform_psp.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"
|
2013-07-27 17:40:21 +02:00
|
|
|
#elif defined(OSX) || defined(IOS)
|
2015-01-12 21:47:01 +01:00
|
|
|
#include "../frontend/drivers/platform_apple.c"
|
2013-11-03 16:38:56 +01:00
|
|
|
#elif defined(ANDROID)
|
2015-01-12 21:47:01 +01:00
|
|
|
#include "../frontend/drivers/platform_android.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
|
|
|
|
2012-04-14 01:02:37 +02:00
|
|
|
/*============================================================
|
|
|
|
MAIN
|
|
|
|
============================================================ */
|
2013-01-08 06:26:02 +01:00
|
|
|
#if defined(XENON)
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../frontend/frontend_xenon.c"
|
2013-07-15 14:19:29 +02:00
|
|
|
#else
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../frontend/frontend.c"
|
2013-07-06 20:29:11 +02:00
|
|
|
#endif
|
2013-02-25 07:29:09 +01: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
|
|
|
============================================================ */
|
2014-09-23 03:03:56 +02:00
|
|
|
#include "../libretro_version_1.c"
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../retroarch.c"
|
2014-10-05 01:31:48 +02:00
|
|
|
#include "../runloop.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
|
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"
|
2014-08-12 05:28:43 +02:00
|
|
|
|
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)
|
2014-10-21 05:05:52 +02:00
|
|
|
#include "../libretro-sdk/rthreads/rthreads.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"
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../autosave.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
|
|
|
|
============================================================ */
|
2012-05-28 05:19:04 +02:00
|
|
|
#ifdef HAVE_NETPLAY
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../netplay.c"
|
2015-01-23 06:29:36 +01:00
|
|
|
#include "../netplay_compat.c"
|
2015-01-23 04:57:45 +01:00
|
|
|
#include "../net_http.c"
|
2012-04-14 14:08:00 +02:00
|
|
|
#endif
|
2012-04-14 01:02:37 +02:00
|
|
|
|
2012-08-20 03:30:09 +02:00
|
|
|
/*============================================================
|
|
|
|
SCREENSHOTS
|
|
|
|
============================================================ */
|
2013-04-06 18:14:06 +02:00
|
|
|
#if defined(_XBOX1)
|
|
|
|
#include "../xdk/screenshot_xdk1.c"
|
2014-09-12 00:16:05 +02:00
|
|
|
#else
|
2014-08-17 23:31:16 +02:00
|
|
|
#include "../screenshot.c"
|
2014-09-12 00:16:05 +02:00
|
|
|
#endif
|
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-01-11 06:24:44 +01:00
|
|
|
#include "../menu/menu_input.c"
|
2015-01-10 04:53:37 +01:00
|
|
|
#include "../menu/menu.c"
|
2015-01-10 04:44:18 +01:00
|
|
|
#include "../menu/menu_common_list.c"
|
2014-10-28 19:54:23 +01:00
|
|
|
#include "../menu/menu_action.c"
|
|
|
|
#include "../menu/menu_list.c"
|
|
|
|
#include "../menu/menu_entries.c"
|
|
|
|
#include "../menu/menu_entries_cbs.c"
|
|
|
|
#include "../menu/menu_shader.c"
|
|
|
|
#include "../menu/menu_navigation.c"
|
|
|
|
#include "../menu/menu_animation.c"
|
2013-10-07 08:56:16 +00:00
|
|
|
|
2015-01-12 23:52:45 +01:00
|
|
|
#include "../menu/drivers_backend/menu_common_backend.c"
|
2014-04-14 02:32:54 +02:00
|
|
|
#endif
|
|
|
|
|
2014-02-26 21:10:17 +01:00
|
|
|
#ifdef HAVE_RMENU
|
2015-01-12 23:52:45 +01:00
|
|
|
#include "../menu/drivers_display/rmenu.c"
|
2014-02-26 21:10:17 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_RGUI
|
2015-01-12 23:52:45 +01:00
|
|
|
#include "../menu/drivers_display/rgui.c"
|
2014-02-26 21:10:17 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_RMENU_XUI
|
2015-01-12 23:52:45 +01:00
|
|
|
#include "../menu/drivers_display/rmenu_xui.cpp"
|
2013-01-09 18:31:14 +01:00
|
|
|
#endif
|
2014-02-26 21:10:17 +01:00
|
|
|
|
2014-09-13 06:25:41 +02:00
|
|
|
#ifdef HAVE_OPENGL
|
|
|
|
|
|
|
|
#ifdef HAVE_LAKKA
|
2015-01-12 23:52:45 +01:00
|
|
|
#include "../menu/drivers_backend/menu_lakka_backend.c"
|
|
|
|
#include "../menu/drivers_display/lakka.c"
|
2014-10-09 05:14:41 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_XMB
|
2015-01-12 23:52:45 +01:00
|
|
|
#include "../menu/drivers_display/xmb.c"
|
2014-02-26 21:10:17 +01:00
|
|
|
#endif
|
|
|
|
|
2014-09-13 06:25:41 +02:00
|
|
|
#ifdef HAVE_GLUI
|
2015-01-12 23:52:45 +01:00
|
|
|
#include "../menu/drivers_display/glui.c"
|
2014-09-13 06:25:41 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
2014-11-04 22:01:01 -05:00
|
|
|
#ifdef IOS
|
2015-01-12 23:52:45 +01:00
|
|
|
#include "../menu/drivers_display/ios.c"
|
2014-11-04 22:01:01 -05:00
|
|
|
#endif
|
|
|
|
|
2014-09-14 06:29:40 +02:00
|
|
|
#ifdef HAVE_COMMAND
|
|
|
|
#include "../command.c"
|
|
|
|
#endif
|
|
|
|
|
2012-11-20 03:40:39 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "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
|
|
|
============================================================ */
|
2013-02-16 21:43:29 +01:00
|
|
|
#ifdef WANT_MINIZ
|
2014-01-10 19:36:13 +01:00
|
|
|
#include "../deps/rzlib/adler32.c"
|
|
|
|
#include "../deps/rzlib/compress.c"
|
|
|
|
#include "../deps/rzlib/crc32.c"
|
|
|
|
#include "../deps/rzlib/deflate.c"
|
|
|
|
#include "../deps/rzlib/gzclose.c"
|
|
|
|
#include "../deps/rzlib/gzlib.c"
|
|
|
|
#include "../deps/rzlib/gzread.c"
|
|
|
|
#include "../deps/rzlib/gzwrite.c"
|
|
|
|
#include "../deps/rzlib/inffast.c"
|
|
|
|
#include "../deps/rzlib/inflate.c"
|
|
|
|
#include "../deps/rzlib/inftrees.c"
|
|
|
|
#include "../deps/rzlib/trees.c"
|
|
|
|
#include "../deps/rzlib/uncompr.c"
|
|
|
|
#include "../deps/rzlib/zutil.c"
|
2014-09-12 21:25:08 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Decompression support always requires the next two files */
|
|
|
|
#if defined(WANT_MINIZ) || defined(HAVE_ZLIB)
|
2014-01-10 19:36:13 +01:00
|
|
|
#include "../deps/rzlib/ioapi.c"
|
|
|
|
#include "../deps/rzlib/unzip.c"
|
2012-11-19 05:43:57 +01:00
|
|
|
#endif
|
2012-11-20 03:40:39 +01:00
|
|
|
|
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/CpuArch.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
|
|
|
#include "../decompress/7zip_support.c"
|
|
|
|
#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
|
2013-03-18 05:46:19 +01:00
|
|
|
#include "../compat/rxml/rxml.c"
|
2014-01-22 08:39:28 -03:00
|
|
|
#endif
|
2014-12-15 21:34:22 +01:00
|
|
|
#endif
|
|
|
|
|
2013-11-22 15:30:02 +01:00
|
|
|
/*============================================================
|
2014-09-14 06:29:40 +02:00
|
|
|
SETTINGS
|
2013-11-22 15:30:02 +01:00
|
|
|
============================================================ */
|
2014-10-07 16:48:24 +02:00
|
|
|
#include "../settings_list.c"
|
2014-05-03 18:38:29 +02:00
|
|
|
#include "../settings_data.c"
|
2014-10-07 16:48:24 +02:00
|
|
|
|
2014-05-22 22:00:59 +02:00
|
|
|
/*============================================================
|
|
|
|
AUDIO UTILS
|
|
|
|
============================================================ */
|
2015-01-13 00:19:46 +01:00
|
|
|
#include "../audio/audio_utils.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-01-19 22:47:09 +01:00
|
|
|
#include "../libretrodb/bintree.c"
|
2015-01-23 05:59:47 +01:00
|
|
|
#include "../libretrodb/libretrodb.c"
|
2015-01-19 22:47:09 +01:00
|
|
|
#include "../libretrodb/rmsgpack.c"
|
|
|
|
#include "../libretrodb/rmsgpack_dom.c"
|
2015-01-19 22:47:42 +01:00
|
|
|
#include "../libretrodb/query.c"
|
2015-01-22 03:58:04 +01:00
|
|
|
#endif
|
2014-12-30 21:12:43 +01:00
|
|
|
|
2012-11-20 03:40:39 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
2013-01-09 05:57:02 +01:00
|
|
|
#endif
|