2012-04-21 21:13:50 +00:00
|
|
|
/* RetroArch - A frontend for libretro.
|
2014-01-01 00:50:59 +00:00
|
|
|
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
|
|
|
|
* Copyright (C) 2011-2014 - Daniel De Matteis
|
2012-04-13 23:02:37 +00:00
|
|
|
*
|
2012-04-21 21:13:50 +00:00
|
|
|
* RetroArch is free software: you can redistribute it and/or modify it under the terms
|
2012-04-13 23:02:37 +00:00
|
|
|
* of the GNU General Public License as published by the Free Software Found-
|
|
|
|
* ation, either version 3 of the License, or (at your option) any later version.
|
|
|
|
*
|
2012-04-21 21:13:50 +00:00
|
|
|
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
2012-04-13 23:02:37 +00:00
|
|
|
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
* PURPOSE. See the GNU General Public License for more details.
|
|
|
|
*
|
2012-04-21 21:31:57 +00:00
|
|
|
* You should have received a copy of the GNU General Public License along with RetroArch.
|
2012-04-13 23:02:37 +00:00
|
|
|
* If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2014-05-08 19:49:18 +00:00
|
|
|
#if defined(HAVE_CG) || defined(HAVE_HLSL) || defined(HAVE_GLSL)
|
|
|
|
#define HAVE_SHADERS
|
|
|
|
#endif
|
|
|
|
|
2014-09-12 19:25:08 +00:00
|
|
|
#if defined(HAVE_ZLIB) || defined(HAVE_7ZIP)
|
|
|
|
#define HAVE_COMPRESSION
|
|
|
|
#endif
|
|
|
|
|
2014-09-14 04:29:40 +00:00
|
|
|
#if defined(_MSC_VER)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../msvc/msvc_compat.h"
|
2012-04-13 23:02:37 +00:00
|
|
|
#endif
|
|
|
|
|
2012-11-25 04:41:12 +00:00
|
|
|
/*============================================================
|
2013-03-18 04:46:19 +00:00
|
|
|
CONSOLE EXTENSIONS
|
2012-11-25 04:41:12 +00:00
|
|
|
============================================================ */
|
2013-03-18 04:46:19 +00:00
|
|
|
#ifdef RARCH_CONSOLE
|
2012-11-25 04:41:12 +00:00
|
|
|
|
|
|
|
#if defined(HAVE_LOGGER) && defined(__PSL1GHT__)
|
2014-06-01 14:09:12 +00:00
|
|
|
#include "../logger/netlogger/psl1ght_logger.c"
|
2012-12-16 03:13:31 +00:00
|
|
|
#elif defined(HAVE_LOGGER) && !defined(ANDROID)
|
2014-06-01 14:09:12 +00:00
|
|
|
#include "../logger/netlogger/logger.c"
|
2012-11-25 04:41:12 +00:00
|
|
|
#endif
|
|
|
|
|
2012-09-03 22:05:23 +00:00
|
|
|
#ifdef HW_DOL
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../ngc/ssaram.c"
|
2012-09-03 22:05:23 +00:00
|
|
|
#endif
|
|
|
|
|
2013-01-11 21:27:31 +00:00
|
|
|
#endif
|
2012-04-13 23:02:37 +00:00
|
|
|
|
2013-01-11 21:46:14 +00:00
|
|
|
#ifdef HAVE_ZLIB
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../file_extract.c"
|
2014-09-12 19:25:08 +00:00
|
|
|
#include "../decompress/zip_support.c"
|
2012-11-03 07:42:33 +00:00
|
|
|
#endif
|
|
|
|
|
2013-11-22 14:30:02 +00:00
|
|
|
|
|
|
|
|
2013-01-12 23:42:21 +00:00
|
|
|
/*============================================================
|
|
|
|
RLAUNCH
|
|
|
|
============================================================ */
|
|
|
|
|
|
|
|
#ifdef HAVE_RLAUNCH
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../tools/retrolaunch/rl_fnmatch.c"
|
|
|
|
#include "../tools/retrolaunch/sha1.c"
|
|
|
|
#include "../tools/retrolaunch/cd_detect.c"
|
|
|
|
#include "../tools/retrolaunch/parser.c"
|
|
|
|
#include "../tools/retrolaunch/main.c"
|
2013-01-12 23:42:21 +00:00
|
|
|
#endif
|
2012-12-20 19:48:09 +00:00
|
|
|
|
2012-11-03 07:42:33 +00:00
|
|
|
/*============================================================
|
|
|
|
PERFORMANCE
|
|
|
|
============================================================ */
|
|
|
|
|
|
|
|
#ifdef ANDROID
|
2013-11-27 21:57:49 +00:00
|
|
|
#include "../performance/performance_android.c"
|
2012-11-03 07:42:33 +00:00
|
|
|
#endif
|
|
|
|
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../performance.c"
|
2012-11-03 07:42:33 +00:00
|
|
|
|
2012-04-13 23:02:37 +00:00
|
|
|
/*============================================================
|
|
|
|
COMPATIBILITY
|
|
|
|
============================================================ */
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../compat/compat.c"
|
2012-04-13 23:02:37 +00:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
CONFIG FILE
|
|
|
|
============================================================ */
|
2014-09-14 04:29:40 +00:00
|
|
|
#if defined(_MSC_VER)
|
2012-04-21 21:25:32 +00:00
|
|
|
#undef __RARCH_POSIX_STRING_H
|
|
|
|
#undef __RARCH_MSVC_COMPAT_H
|
2012-04-13 23:02:37 +00:00
|
|
|
#undef strcasecmp
|
|
|
|
#endif
|
2012-05-28 03:21:19 +00:00
|
|
|
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../conf/config_file.c"
|
2014-09-15 19:25:40 +00:00
|
|
|
#include "../conf/config_file_userdata.c"
|
2013-04-04 12:15:13 +00:00
|
|
|
#include "../core_options.c"
|
2013-06-24 11:52:14 +00:00
|
|
|
|
2012-11-17 16:16:11 +00:00
|
|
|
/*============================================================
|
|
|
|
CHEATS
|
|
|
|
============================================================ */
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../cheats.c"
|
|
|
|
#include "../hash.c"
|
2012-11-17 16:16:11 +00:00
|
|
|
|
2012-04-13 23:02:37 +00:00
|
|
|
/*============================================================
|
2012-05-28 03:19:04 +00:00
|
|
|
VIDEO CONTEXT
|
2012-04-13 23:02:37 +00:00
|
|
|
============================================================ */
|
2012-05-27 02:02:07 +00:00
|
|
|
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gfx/gfx_context.c"
|
2012-05-27 23:15:00 +00:00
|
|
|
|
2013-01-09 04:54:48 +00:00
|
|
|
#if defined(__CELLOS_LV2__)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gfx/context/ps3_ctx.c"
|
2014-09-14 04:15:24 +00:00
|
|
|
#elif defined(_XBOX) || defined(HAVE_WIN32_D3D9)
|
2014-03-09 14:49:20 +00:00
|
|
|
#include "../gfx/context/d3d_ctx.cpp"
|
2012-11-03 07:42:33 +00:00
|
|
|
#elif defined(ANDROID)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gfx/context/androidegl_ctx.c"
|
2014-05-20 00:48:11 +00:00
|
|
|
#elif defined(__QNX__)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gfx/context/bbqnx_ctx.c"
|
2013-11-17 22:21:40 +00:00
|
|
|
#elif defined(EMSCRIPTEN)
|
|
|
|
#include "../gfx/context/emscriptenegl_ctx.c"
|
2012-05-27 20:58:14 +00:00
|
|
|
#endif
|
|
|
|
|
2013-07-28 17:55:18 +00:00
|
|
|
|
2013-07-07 19:17:58 +00:00
|
|
|
#if defined(HAVE_OPENGL)
|
|
|
|
|
2013-07-07 19:25:22 +00:00
|
|
|
#if defined(HAVE_KMS)
|
|
|
|
#include "../gfx/context/drm_egl_ctx.c"
|
|
|
|
#endif
|
2013-07-07 19:17:58 +00:00
|
|
|
#if defined(HAVE_VIDEOCORE)
|
|
|
|
#include "../gfx/context/vc_egl_ctx.c"
|
2012-05-27 20:58:14 +00:00
|
|
|
#endif
|
2014-09-13 21:56:45 +00:00
|
|
|
#if defined(HAVE_X11) && !defined(HAVE_OPENGLES)
|
2013-07-07 19:17:58 +00:00
|
|
|
#include "../gfx/context/glx_ctx.c"
|
|
|
|
#endif
|
2014-09-14 04:15:24 +00:00
|
|
|
|
2013-07-07 19:17:58 +00:00
|
|
|
#if defined(HAVE_EGL)
|
|
|
|
#include "../gfx/context/xegl_ctx.c"
|
|
|
|
#endif
|
|
|
|
|
2014-09-14 04:15:24 +00:00
|
|
|
#if defined(_WIN32) && !defined(_XBOX)
|
|
|
|
#include "../gfx/context/wgl_ctx.c"
|
|
|
|
#endif
|
|
|
|
|
2013-07-07 19:17:58 +00:00
|
|
|
#endif
|
|
|
|
|
2013-07-07 19:25:22 +00:00
|
|
|
#ifdef HAVE_X11
|
|
|
|
#include "../gfx/context/x11_common.c"
|
|
|
|
#endif
|
|
|
|
|
2012-05-27 20:58:14 +00:00
|
|
|
|
2012-05-28 03:19:04 +00:00
|
|
|
/*============================================================
|
|
|
|
VIDEO SHADERS
|
|
|
|
============================================================ */
|
2014-05-08 19:49:18 +00:00
|
|
|
#ifdef HAVE_SHADERS
|
2014-05-13 15:01:27 +00:00
|
|
|
#include "../gfx/shader_common.c"
|
2013-04-06 09:30:56 +00:00
|
|
|
#include "../gfx/shader_parse.c"
|
|
|
|
|
2012-05-27 20:58:14 +00:00
|
|
|
#ifdef HAVE_CG
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gfx/shader_cg.c"
|
2012-05-27 20:39:29 +00:00
|
|
|
#endif
|
|
|
|
|
2012-05-27 22:37:54 +00:00
|
|
|
#ifdef HAVE_HLSL
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gfx/shader_hlsl.c"
|
2012-05-27 22:37:54 +00:00
|
|
|
#endif
|
|
|
|
|
2012-07-01 20:46:25 +00:00
|
|
|
#ifdef HAVE_GLSL
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gfx/shader_glsl.c"
|
2012-07-01 20:46:25 +00:00
|
|
|
#endif
|
|
|
|
|
2014-05-08 19:49:18 +00:00
|
|
|
#endif
|
|
|
|
|
2012-05-28 03:19:04 +00:00
|
|
|
/*============================================================
|
|
|
|
VIDEO IMAGE
|
|
|
|
============================================================ */
|
|
|
|
|
2012-05-27 20:39:29 +00:00
|
|
|
#if defined(__CELLOS_LV2__)
|
2014-02-25 20:24:15 +00:00
|
|
|
#include "../gfx/image/image_ps3.c"
|
2012-08-05 15:18:19 +00:00
|
|
|
#elif defined(_XBOX1)
|
2014-02-25 20:24:15 +00:00
|
|
|
#include "../gfx/image/image_xdk1.c"
|
2014-05-28 19:14:11 +00:00
|
|
|
#else
|
|
|
|
#include "../gfx/image/image_rpng.c"
|
2013-07-07 17:22:54 +00:00
|
|
|
#endif
|
|
|
|
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gfx/rpng/rpng.c"
|
2012-05-28 03:19:04 +00:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
VIDEO DRIVER
|
|
|
|
============================================================ */
|
|
|
|
|
2012-07-28 20:58:08 +00:00
|
|
|
#if defined(HAVE_OPENGL)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gfx/math/matrix.c"
|
2012-04-14 11:42:25 +00:00
|
|
|
#elif defined(GEKKO)
|
2012-08-08 20:39:19 +00:00
|
|
|
#ifdef HW_RVL
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../wii/vi_encoder.c"
|
|
|
|
#include "../wii/mem2_manager.c"
|
2012-08-08 20:39:19 +00:00
|
|
|
#endif
|
2012-04-14 11:42:25 +00:00
|
|
|
#endif
|
|
|
|
|
2013-07-07 19:17:58 +00:00
|
|
|
#ifdef HAVE_VG
|
|
|
|
#include "../gfx/vg.c"
|
|
|
|
#include "../gfx/math/matrix_3x3.c"
|
|
|
|
#endif
|
|
|
|
|
2013-07-28 17:56:35 +00:00
|
|
|
#ifdef HAVE_OMAP
|
|
|
|
#include "../gfx/omap_gfx.c"
|
|
|
|
#include "../gfx/fbdev.c"
|
|
|
|
#endif
|
|
|
|
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gfx/gfx_common.c"
|
2012-07-15 17:12:58 +00:00
|
|
|
|
2012-07-08 19:42:26 +00:00
|
|
|
#ifdef _XBOX
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../xdk/xdk_resources.cpp"
|
2012-07-07 12:06:21 +00:00
|
|
|
#endif
|
|
|
|
|
2013-01-10 02:34:43 +00:00
|
|
|
#ifdef HAVE_OPENGL
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gfx/gl.c"
|
2013-08-11 13:06:42 +00:00
|
|
|
|
2013-08-11 13:10:56 +00:00
|
|
|
#ifndef HAVE_PSGL
|
2013-07-05 17:29:48 +00:00
|
|
|
#include "../gfx/glsym/rglgen.c"
|
|
|
|
#ifdef HAVE_OPENGLES2
|
|
|
|
#include "../gfx/glsym/glsym_es2.c"
|
|
|
|
#else
|
|
|
|
#include "../gfx/glsym/glsym_gl.c"
|
|
|
|
#endif
|
2013-01-10 02:34:43 +00:00
|
|
|
#endif
|
|
|
|
|
2013-08-11 13:06:42 +00:00
|
|
|
#endif
|
|
|
|
|
2013-07-07 19:17:58 +00:00
|
|
|
#ifdef HAVE_XVIDEO
|
|
|
|
#include "../gfx/xvideo.c"
|
|
|
|
#endif
|
|
|
|
|
2014-09-14 04:15:24 +00:00
|
|
|
#if defined(_XBOX) || defined(HAVE_WIN32_D3D9)
|
2014-09-14 04:45:47 +00:00
|
|
|
#include "../gfx/d3d/d3d_wrapper.cpp"
|
|
|
|
#include "../gfx/d3d/d3d.cpp"
|
2014-09-14 04:15:24 +00:00
|
|
|
#ifndef _XBOX
|
2014-09-14 04:45:47 +00:00
|
|
|
#include "../gfx/d3d/render_chain.cpp"
|
2014-09-14 04:15:24 +00:00
|
|
|
#endif
|
2013-01-10 02:34:43 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(GEKKO)
|
2014-08-15 19:08:56 +00:00
|
|
|
#include "../gfx/gx/gx_gfx.c"
|
2013-07-27 18:47:00 +00:00
|
|
|
#elif defined(PSP)
|
2014-08-15 19:14:26 +00:00
|
|
|
#include "../gfx/psp/psp1_gfx.c"
|
2013-01-09 04:54:48 +00:00
|
|
|
#elif defined(XENON)
|
2014-08-15 19:08:56 +00:00
|
|
|
#include "../gfx/xenon360_gfx.c"
|
2013-01-09 04:57:02 +00:00
|
|
|
#endif
|
|
|
|
|
2014-08-14 01:05:44 +00:00
|
|
|
#include "../gfx/nullgfx.c"
|
2012-06-20 04:39:52 +00:00
|
|
|
|
2012-05-27 02:02:07 +00:00
|
|
|
/*============================================================
|
|
|
|
FONTS
|
|
|
|
============================================================ */
|
|
|
|
|
2012-09-14 09:07:50 +00:00
|
|
|
#if defined(HAVE_OPENGL) || defined(HAVE_D3D8) || defined(HAVE_D3D9)
|
2012-09-27 16:16:06 +00:00
|
|
|
|
2014-09-24 07:33:15 +00:00
|
|
|
#if defined(HAVE_FREETYPE)
|
2014-02-05 15:30:55 +00:00
|
|
|
#include "../gfx/fonts/fonts.c"
|
|
|
|
|
2013-02-25 00:19:12 +00:00
|
|
|
#if defined(HAVE_FREETYPE)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gfx/fonts/freetype.c"
|
2013-02-25 02:43:19 +00:00
|
|
|
#endif
|
|
|
|
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gfx/fonts/bitmapfont.c"
|
2012-12-14 21:35:23 +00:00
|
|
|
|
2014-02-05 15:30:55 +00:00
|
|
|
#endif
|
|
|
|
|
2012-12-14 23:17:43 +00:00
|
|
|
#ifdef HAVE_OPENGL
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gfx/fonts/gl_font.c"
|
2012-12-14 23:17:43 +00:00
|
|
|
#endif
|
|
|
|
|
2014-09-14 04:15:24 +00:00
|
|
|
#if defined(_XBOX) || defined(HAVE_WIN32_D3D9)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gfx/fonts/d3d_font.c"
|
2012-12-15 02:59:31 +00:00
|
|
|
#endif
|
|
|
|
|
2014-09-14 04:15:24 +00:00
|
|
|
#if defined(_WIN32) && !defined(_XBOX)
|
|
|
|
#include "../gfx/fonts/d3d_w32_font.cpp"
|
|
|
|
#endif
|
|
|
|
|
2013-11-07 01:54:09 +00:00
|
|
|
#if defined(HAVE_LIBDBGFONT)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gfx/fonts/ps_libdbgfont.c"
|
2012-12-15 01:59:35 +00:00
|
|
|
#elif defined(HAVE_OPENGL)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gfx/fonts/gl_raster_font.c"
|
2012-07-30 23:23:42 +00:00
|
|
|
#elif defined(_XBOX1)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gfx/fonts/xdk1_xfonts.c"
|
2012-06-24 19:25:11 +00:00
|
|
|
#elif defined(_XBOX360)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gfx/fonts/xdk360_fonts.cpp"
|
2012-04-13 23:02:37 +00:00
|
|
|
#endif
|
2012-09-27 16:16:06 +00:00
|
|
|
|
2012-09-14 09:07:50 +00:00
|
|
|
#endif
|
2012-04-13 23:02:37 +00:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
INPUT
|
|
|
|
============================================================ */
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../input/input_common.c"
|
2013-12-10 18:42:42 +00:00
|
|
|
#include "../input/keyboard_line.c"
|
2012-12-23 17:39:34 +00:00
|
|
|
|
|
|
|
#ifdef HAVE_OVERLAY
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../input/overlay.c"
|
2012-12-23 17:39:34 +00:00
|
|
|
#endif
|
2012-12-20 19:48:09 +00:00
|
|
|
|
2012-07-01 12:10:13 +00:00
|
|
|
#if defined(__CELLOS_LV2__)
|
2014-05-13 15:01:27 +00:00
|
|
|
#include "../input/ps3_input.c"
|
2014-08-30 01:41:13 +00:00
|
|
|
#include "../input/ps3_input_joypad.c"
|
2014-06-09 12:32:45 +00:00
|
|
|
#include "../input/autoconf/builtin_ps3.c"
|
2012-11-23 01:40:03 +00:00
|
|
|
#elif defined(SN_TARGET_PSP2) || defined(PSP)
|
2014-05-13 15:01:27 +00:00
|
|
|
#include "../input/psp_input.c"
|
2014-08-30 01:46:57 +00:00
|
|
|
#include "../input/psp_input_joypad.c"
|
2014-06-09 16:57:17 +00:00
|
|
|
#include "../input/autoconf/builtin_psp.c"
|
2012-04-14 11:42:25 +00:00
|
|
|
#elif defined(GEKKO)
|
2014-02-26 22:07:16 +00:00
|
|
|
#ifdef HAVE_LIBSICKSAXIS
|
2014-08-15 19:18:46 +00:00
|
|
|
#include "../input/gx_input_sicksaxis.c"
|
2014-02-26 22:07:16 +00:00
|
|
|
#endif
|
2014-05-13 15:01:27 +00:00
|
|
|
#include "../input/gx_input.c"
|
2014-08-30 01:46:57 +00:00
|
|
|
#include "../input/gx_input_joypad.c"
|
2014-06-09 19:56:22 +00:00
|
|
|
#include "../input/autoconf/builtin_gx.c"
|
2012-07-31 18:56:05 +00:00
|
|
|
#elif defined(_XBOX)
|
2014-05-13 15:01:27 +00:00
|
|
|
#include "../input/xdk_xinput_input.c"
|
2014-08-30 01:48:51 +00:00
|
|
|
#include "../input/xdk_xinput_input_joypad.c"
|
2014-06-09 16:17:37 +00:00
|
|
|
#include "../input/autoconf/builtin_xdk.c"
|
2014-09-14 04:15:24 +00:00
|
|
|
#elif defined(_WIN32)
|
|
|
|
#include "../input/autoconf/builtin_win.c"
|
2012-11-25 04:41:12 +00:00
|
|
|
#elif defined(XENON)
|
2014-08-15 19:11:26 +00:00
|
|
|
#include "../input/xenon360_input.c"
|
2012-11-03 07:42:33 +00:00
|
|
|
#elif defined(ANDROID)
|
2014-06-10 20:15:23 +00:00
|
|
|
#include "../input/android_input.c"
|
2014-08-30 01:46:57 +00:00
|
|
|
#include "../input/android_input_joypad.c"
|
2013-07-07 20:01:58 +00:00
|
|
|
#elif defined(IOS) || defined(OSX)
|
2014-04-26 15:39:46 +00:00
|
|
|
#include "../input/apple_input.c"
|
|
|
|
#include "../input/apple_joypad.c"
|
2014-05-20 00:48:11 +00:00
|
|
|
#elif defined(__QNX__)
|
2014-06-14 18:30:47 +00:00
|
|
|
#include "../input/qnx_input.c"
|
2014-08-30 01:46:57 +00:00
|
|
|
#include "../input/qnx_input_joypad.c"
|
2013-11-17 22:21:40 +00:00
|
|
|
#elif defined(EMSCRIPTEN)
|
|
|
|
#include "../input/rwebinput_input.c"
|
2013-01-09 04:57:02 +00:00
|
|
|
#endif
|
|
|
|
|
2014-09-14 04:15:24 +00:00
|
|
|
#ifdef HAVE_DINPUT
|
|
|
|
#include "../input/dinput.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_WINXINPUT
|
|
|
|
#include "../input/winxinput_joypad.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(_WIN32) && !defined(_XBOX)
|
|
|
|
#include "../gfx/context/win32_common.c"
|
|
|
|
#endif
|
|
|
|
|
2013-11-16 15:02:04 +00:00
|
|
|
#if defined(__CELLOS_LV2__)
|
2014-08-16 16:22:51 +00:00
|
|
|
#include "../input/osk/ps3_osk.c"
|
2013-11-16 15:02:04 +00:00
|
|
|
#endif
|
2014-08-14 04:40:33 +00:00
|
|
|
|
|
|
|
#include "../input/osk/nullosk.c"
|
2013-11-16 15:02:04 +00:00
|
|
|
|
2013-07-28 18:04:11 +00:00
|
|
|
#if defined(__linux__) && !defined(ANDROID)
|
2013-07-07 17:22:54 +00:00
|
|
|
#include "../input/linuxraw_input.c"
|
|
|
|
#include "../input/linuxraw_joypad.c"
|
|
|
|
#endif
|
|
|
|
|
2013-07-07 19:25:22 +00:00
|
|
|
#ifdef HAVE_X11
|
|
|
|
#include "../input/x11_input.c"
|
|
|
|
#endif
|
|
|
|
|
2014-08-14 01:05:44 +00:00
|
|
|
#include "../input/nullinput.c"
|
2012-06-20 04:39:52 +00:00
|
|
|
|
2012-04-13 23:02:37 +00:00
|
|
|
/*============================================================
|
2012-05-28 03:19:04 +00:00
|
|
|
STATE TRACKER
|
2012-04-13 23:02:37 +00:00
|
|
|
============================================================ */
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gfx/state_tracker.c"
|
2012-04-13 23:02:37 +00:00
|
|
|
|
2013-07-07 19:25:22 +00:00
|
|
|
#ifdef HAVE_PYTHON
|
|
|
|
#include "../gfx/py_state/py_state.c"
|
|
|
|
#endif
|
|
|
|
|
2012-04-13 23:02:37 +00:00
|
|
|
/*============================================================
|
|
|
|
FIFO BUFFER
|
|
|
|
============================================================ */
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../fifo_buffer.c"
|
2012-04-13 23:02:37 +00:00
|
|
|
|
|
|
|
/*============================================================
|
2013-02-08 10:49:51 +00:00
|
|
|
AUDIO RESAMPLER
|
2012-04-13 23:02:37 +00:00
|
|
|
============================================================ */
|
2014-09-09 19:54:41 +00:00
|
|
|
#include "../audio/resamplers/resampler.c"
|
|
|
|
#include "../audio/resamplers/sinc.c"
|
2014-09-12 22:10:15 +00:00
|
|
|
#include "../audio/resamplers/nearest.c"
|
2014-09-09 19:54:41 +00:00
|
|
|
#include "../audio/resamplers/cc_resampler.c"
|
2012-04-13 23:02:37 +00:00
|
|
|
|
2013-11-17 18:47:37 +00:00
|
|
|
/*============================================================
|
|
|
|
CAMERA
|
|
|
|
============================================================ */
|
|
|
|
#if defined(ANDROID)
|
|
|
|
#include "../camera/android.c"
|
|
|
|
#elif defined(EMSCRIPTEN)
|
|
|
|
#include "../camera/rwebcam.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_V4L2
|
|
|
|
#include "../camera/video4linux2.c"
|
|
|
|
#endif
|
|
|
|
|
2014-08-14 00:55:04 +00:00
|
|
|
#include "../camera/nullcamera.c"
|
2013-11-17 18:47:37 +00:00
|
|
|
|
2013-12-19 00:51:51 +00:00
|
|
|
/*============================================================
|
|
|
|
LOCATION
|
|
|
|
============================================================ */
|
2013-12-19 02:37:26 +00:00
|
|
|
#if defined(ANDROID)
|
|
|
|
#include "../location/android.c"
|
|
|
|
#endif
|
|
|
|
|
2014-08-14 01:05:44 +00:00
|
|
|
#include "../location/nulllocation.c"
|
2013-12-19 00:51:51 +00:00
|
|
|
|
2012-04-13 23:02:37 +00:00
|
|
|
/*============================================================
|
|
|
|
RSOUND
|
|
|
|
============================================================ */
|
2012-05-22 15:26:23 +00:00
|
|
|
#ifdef HAVE_RSOUND
|
2013-10-31 23:07:52 +00:00
|
|
|
#include "../audio/librsound.c"
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../audio/rsound.c"
|
2012-04-13 23:02:37 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
AUDIO
|
|
|
|
============================================================ */
|
2012-07-01 13:18:26 +00:00
|
|
|
#if defined(__CELLOS_LV2__)
|
2014-05-13 15:09:17 +00:00
|
|
|
#include "../audio/ps3_audio.c"
|
2012-11-25 04:41:12 +00:00
|
|
|
#elif defined(XENON)
|
2014-08-15 19:11:26 +00:00
|
|
|
#include "../audio/xenon360_audio.c"
|
2012-04-14 11:42:25 +00:00
|
|
|
#elif defined(GEKKO)
|
2014-05-13 15:09:17 +00:00
|
|
|
#include "../audio/gx_audio.c"
|
2013-11-17 22:21:40 +00:00
|
|
|
#elif defined(EMSCRIPTEN)
|
|
|
|
#include "../audio/rwebaudio.c"
|
2014-02-17 13:26:03 +00:00
|
|
|
#elif defined(PSP)
|
2014-05-13 15:09:17 +00:00
|
|
|
#include "../audio/psp1_audio.c"
|
2013-01-09 21:04:28 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_XAUDIO
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../audio/xaudio.c"
|
|
|
|
#include "../audio/xaudio-c/xaudio-c.cpp"
|
2013-01-09 21:04:28 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_DSOUND
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../audio/dsound.c"
|
2013-01-09 21:04:28 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_SL
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../audio/opensl.c"
|
2013-01-09 04:57:02 +00:00
|
|
|
#endif
|
|
|
|
|
2013-06-19 10:52:47 +00:00
|
|
|
#ifdef HAVE_ALSA
|
2013-06-21 16:56:39 +00:00
|
|
|
#ifdef __QNX__
|
2014-06-01 14:12:36 +00:00
|
|
|
#include "../audio/alsa_qsa.c"
|
2013-06-21 16:56:39 +00:00
|
|
|
#else
|
2013-06-19 10:52:47 +00:00
|
|
|
#include "../audio/alsa.c"
|
|
|
|
#include "../audio/alsathread.c"
|
|
|
|
#endif
|
2013-06-21 16:56:39 +00:00
|
|
|
#endif
|
2013-06-19 10:52:47 +00:00
|
|
|
|
2013-02-25 00:19:12 +00:00
|
|
|
#ifdef HAVE_AL
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../audio/openal.c"
|
2013-02-25 00:19:12 +00:00
|
|
|
#endif
|
|
|
|
|
2013-03-18 05:17:00 +00:00
|
|
|
#ifdef HAVE_COREAUDIO
|
|
|
|
#include "../audio/coreaudio.c"
|
|
|
|
#endif
|
|
|
|
|
2014-08-14 01:05:44 +00:00
|
|
|
#include "../audio/nullaudio.c"
|
2012-07-08 16:30:19 +00:00
|
|
|
|
2012-11-03 15:38:03 +00:00
|
|
|
/*============================================================
|
|
|
|
DRIVERS
|
|
|
|
============================================================ */
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../driver.c"
|
2012-11-03 15:38:03 +00:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
SCALERS
|
|
|
|
============================================================ */
|
2014-04-16 13:48:33 +00:00
|
|
|
#include "../gfx/scaler/scaler_filter.c"
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gfx/scaler/pixconv.c"
|
|
|
|
#include "../gfx/scaler/scaler.c"
|
|
|
|
#include "../gfx/scaler/scaler_int.c"
|
2012-11-03 15:38:03 +00:00
|
|
|
|
2014-04-16 00:09:09 +00:00
|
|
|
/*============================================================
|
|
|
|
FILTERS
|
|
|
|
============================================================ */
|
2014-04-16 01:33:10 +00:00
|
|
|
|
|
|
|
#ifdef HAVE_FILTERS_BUILTIN
|
2014-04-16 04:34:20 +00:00
|
|
|
#include "../gfx/filters/2xsai.c"
|
2014-04-16 19:15:02 +00:00
|
|
|
#include "../gfx/filters/super2xsai.c"
|
2014-04-16 22:53:19 +00:00
|
|
|
#include "../gfx/filters/supereagle.c"
|
2014-04-16 00:09:09 +00:00
|
|
|
#include "../gfx/filters/2xbr.c"
|
|
|
|
#include "../gfx/filters/darken.c"
|
2014-04-17 15:21:35 +00:00
|
|
|
#include "../gfx/filters/epx.c"
|
2014-04-16 00:09:09 +00:00
|
|
|
#include "../gfx/filters/scale2x.c"
|
2014-08-19 17:45:19 +00:00
|
|
|
#include "../gfx/filters/blargg_ntsc_snes.c"
|
2014-05-02 19:09:59 +00:00
|
|
|
#include "../gfx/filters/lq2x.c"
|
2014-05-03 00:26:04 +00:00
|
|
|
#include "../gfx/filters/phosphor2x.c"
|
2014-04-29 19:56:50 +00:00
|
|
|
|
2014-05-20 15:04:57 +00:00
|
|
|
#include "../audio/filters/echo.c"
|
2014-05-28 08:37:21 +00:00
|
|
|
#include "../audio/filters/eq.c"
|
2014-06-01 12:30:39 +00:00
|
|
|
#include "../audio/filters/chorus.c"
|
2014-05-28 02:15:52 +00:00
|
|
|
#include "../audio/filters/iir.c"
|
|
|
|
#include "../audio/filters/panning.c"
|
|
|
|
#include "../audio/filters/phaser.c"
|
|
|
|
#include "../audio/filters/reverb.c"
|
|
|
|
#include "../audio/filters/wahwah.c"
|
2014-04-16 00:09:09 +00:00
|
|
|
#endif
|
2012-04-13 23:02:37 +00:00
|
|
|
/*============================================================
|
|
|
|
DYNAMIC
|
|
|
|
============================================================ */
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../dynamic.c"
|
2013-04-14 14:24:19 +00:00
|
|
|
#include "../dynamic_dummy.c"
|
2014-04-15 02:11:36 +00:00
|
|
|
#include "../gfx/filter.c"
|
2014-05-20 10:34:50 +00:00
|
|
|
#include "../audio/dsp_filter.c"
|
2014-04-16 00:09:09 +00:00
|
|
|
|
2012-04-13 23:02:37 +00:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
FILE
|
|
|
|
============================================================ */
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../file.c"
|
2014-09-15 16:59:59 +00:00
|
|
|
#include "../dir_list.c"
|
2014-09-15 16:46:07 +00:00
|
|
|
#include "../string_list.c"
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../file_path.c"
|
2014-07-26 16:31:34 +00:00
|
|
|
#include "../file_list.c"
|
2012-04-13 23:02:37 +00:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
MESSAGE
|
|
|
|
============================================================ */
|
2013-11-06 14:08:54 +00:00
|
|
|
#include "../message_queue.c"
|
2012-04-13 23:02:37 +00:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
PATCH
|
|
|
|
============================================================ */
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../patch.c"
|
2012-04-13 23:02:37 +00:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
SETTINGS
|
|
|
|
============================================================ */
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../settings.c"
|
2012-04-13 23:02:37 +00:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
REWIND
|
|
|
|
============================================================ */
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../rewind.c"
|
2012-04-13 23:02:37 +00:00
|
|
|
|
2013-07-27 10:59:23 +00:00
|
|
|
/*============================================================
|
|
|
|
FRONTEND
|
|
|
|
============================================================ */
|
|
|
|
|
2013-07-26 18:58:47 +00:00
|
|
|
#include "../frontend/frontend_context.c"
|
|
|
|
|
2013-07-27 10:59:23 +00:00
|
|
|
#if defined(__CELLOS_LV2__)
|
|
|
|
#include "../frontend/platform/platform_ps3.c"
|
|
|
|
#elif defined(GEKKO)
|
|
|
|
#include "../frontend/platform/platform_gx.c"
|
2013-11-03 16:39:12 +00:00
|
|
|
#ifdef HW_RVL
|
|
|
|
#include "../frontend/platform/platform_wii.c"
|
|
|
|
#endif
|
2013-07-27 10:59:23 +00:00
|
|
|
#elif defined(_XBOX)
|
|
|
|
#include "../frontend/platform/platform_xdk.c"
|
|
|
|
#elif defined(PSP)
|
|
|
|
#include "../frontend/platform/platform_psp.c"
|
2013-07-27 15:16:46 +00:00
|
|
|
#elif defined(__QNX__)
|
|
|
|
#include "../frontend/platform/platform_qnx.c"
|
2013-07-27 15:40:21 +00:00
|
|
|
#elif defined(OSX) || defined(IOS)
|
|
|
|
#include "../frontend/platform/platform_apple.c"
|
2013-11-03 15:38:56 +00:00
|
|
|
#elif defined(ANDROID)
|
|
|
|
#include "../frontend/platform/platform_android.c"
|
2013-07-27 10:59:23 +00:00
|
|
|
#endif
|
2014-05-09 04:12:53 +00:00
|
|
|
#include "../frontend/platform/platform_null.c"
|
2013-07-27 10:59:23 +00:00
|
|
|
|
2014-08-02 12:04:43 +00:00
|
|
|
#include "../core_info.c"
|
2014-03-01 10:53:04 +00:00
|
|
|
|
2012-04-13 23:02:37 +00:00
|
|
|
/*============================================================
|
|
|
|
MAIN
|
|
|
|
============================================================ */
|
2013-01-08 05:26:02 +00:00
|
|
|
#if defined(XENON)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../frontend/frontend_xenon.c"
|
2013-07-15 12:19:29 +00:00
|
|
|
#else
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../frontend/frontend.c"
|
2013-07-06 18:29:11 +00:00
|
|
|
#endif
|
2013-02-25 06:29:09 +00:00
|
|
|
|
2012-04-13 23:02:37 +00:00
|
|
|
/*============================================================
|
2012-04-22 00:06:34 +00:00
|
|
|
RETROARCH
|
2012-04-13 23:02:37 +00:00
|
|
|
============================================================ */
|
2014-09-19 05:34:34 +00:00
|
|
|
#include "../general.c"
|
2014-09-23 01:03:56 +00:00
|
|
|
#include "../libretro_version_1.c"
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../retroarch.c"
|
2012-04-13 23:02:37 +00:00
|
|
|
|
2014-08-12 03:28:43 +00:00
|
|
|
/*============================================================
|
|
|
|
RECORDING
|
|
|
|
============================================================ */
|
2014-08-13 06:07:30 +00:00
|
|
|
#include "../movie.c"
|
2014-08-12 03:28:43 +00:00
|
|
|
#include "../record/ffemu.c"
|
|
|
|
|
2012-04-13 23:02:37 +00:00
|
|
|
/*============================================================
|
|
|
|
THREAD
|
|
|
|
============================================================ */
|
2013-02-16 23:38:30 +00:00
|
|
|
#if defined(HAVE_THREADS) && defined(XENON)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../thread/xenon_sdl_threads.c"
|
2013-02-16 11:30:26 +00:00
|
|
|
#elif defined(HAVE_THREADS)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../thread.c"
|
2013-12-31 21:10:58 +00:00
|
|
|
#include "../gfx/video_thread_wrapper.c"
|
2013-07-14 11:09:53 +00:00
|
|
|
#include "../audio/thread_wrapper.c"
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../autosave.c"
|
2012-04-14 12:08:00 +00:00
|
|
|
#endif
|
2012-04-13 23:02:37 +00:00
|
|
|
|
2013-02-16 11:30:26 +00:00
|
|
|
|
2012-04-13 23:02:37 +00:00
|
|
|
/*============================================================
|
|
|
|
NETPLAY
|
|
|
|
============================================================ */
|
2012-05-28 03:19:04 +00:00
|
|
|
#ifdef HAVE_NETPLAY
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../netplay.c"
|
2012-04-14 12:08:00 +00:00
|
|
|
#endif
|
2012-04-13 23:02:37 +00:00
|
|
|
|
2012-08-20 01:30:09 +00:00
|
|
|
/*============================================================
|
|
|
|
SCREENSHOTS
|
|
|
|
============================================================ */
|
2013-04-06 16:14:06 +00:00
|
|
|
#if defined(_XBOX1)
|
|
|
|
#include "../xdk/screenshot_xdk1.c"
|
2014-09-11 22:16:05 +00:00
|
|
|
#else
|
2014-08-17 21:31:16 +00:00
|
|
|
#include "../screenshot.c"
|
2014-09-11 22:16:05 +00:00
|
|
|
#endif
|
2014-07-25 18:56:31 +00:00
|
|
|
|
|
|
|
/*============================================================
|
2014-08-15 15:24:28 +00:00
|
|
|
PLAYLISTS
|
2014-07-25 18:56:31 +00:00
|
|
|
============================================================ */
|
2014-08-15 15:24:28 +00:00
|
|
|
#include "../playlist.c"
|
2014-07-25 18:56:31 +00:00
|
|
|
|
2012-04-13 23:02:37 +00:00
|
|
|
/*============================================================
|
|
|
|
MENU
|
|
|
|
============================================================ */
|
2013-04-18 13:04:09 +00:00
|
|
|
#ifdef HAVE_MENU
|
2014-03-02 05:07:18 +00:00
|
|
|
#include "../frontend/menu/menu_input_line_cb.c"
|
2013-04-17 21:31:49 +00:00
|
|
|
#include "../frontend/menu/menu_common.c"
|
2014-09-12 03:54:58 +00:00
|
|
|
#include "../frontend/menu/menu_action.c"
|
2014-08-31 16:37:22 +00:00
|
|
|
#include "../frontend/menu/menu_entries.c"
|
2014-09-24 05:56:47 +00:00
|
|
|
#include "../frontend/menu/menu_shader.c"
|
2014-02-28 22:14:42 +00:00
|
|
|
#include "../frontend/menu/menu_navigation.c"
|
2013-10-07 08:56:16 +00:00
|
|
|
|
2014-04-14 00:32:54 +00:00
|
|
|
#include "../frontend/menu/backend/menu_common_backend.c"
|
|
|
|
#endif
|
|
|
|
|
2014-02-26 20:10:17 +00:00
|
|
|
#ifdef HAVE_RMENU
|
2013-11-11 11:23:18 +00:00
|
|
|
#include "../frontend/menu/disp/rmenu.c"
|
2014-02-26 20:10:17 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_RGUI
|
2013-11-11 11:23:18 +00:00
|
|
|
#include "../frontend/menu/disp/rgui.c"
|
2014-02-26 20:10:17 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_RMENU_XUI
|
2013-12-29 03:26:34 +00:00
|
|
|
#include "../frontend/menu/disp/rmenu_xui.cpp"
|
2013-01-09 17:31:14 +00:00
|
|
|
#endif
|
2014-02-26 20:10:17 +00:00
|
|
|
|
2014-09-13 04:25:41 +00:00
|
|
|
#ifdef HAVE_OPENGL
|
|
|
|
|
|
|
|
#ifdef HAVE_LAKKA
|
2014-09-10 02:23:48 +00:00
|
|
|
#include "../frontend/menu/backend/menu_lakka_backend.c"
|
2014-02-26 20:10:17 +00:00
|
|
|
#include "../frontend/menu/disp/lakka.c"
|
2014-09-19 20:59:23 +00:00
|
|
|
#include "../frontend/menu/disp/tween.c"
|
2014-02-26 20:10:17 +00:00
|
|
|
#endif
|
|
|
|
|
2014-09-13 04:25:41 +00:00
|
|
|
#ifdef HAVE_GLUI
|
|
|
|
#include "../frontend/menu/disp/glui.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
2014-09-14 04:29:40 +00:00
|
|
|
#ifdef HAVE_COMMAND
|
|
|
|
#include "../command.c"
|
|
|
|
#endif
|
|
|
|
|
2012-11-20 02:40:39 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2012-11-19 04:43:57 +00:00
|
|
|
/*============================================================
|
2014-09-02 17:41:43 +00:00
|
|
|
DEPENDENCIES
|
2012-11-19 04:43:57 +00:00
|
|
|
============================================================ */
|
2013-02-16 20:43:29 +00:00
|
|
|
#ifdef WANT_MINIZ
|
2014-01-10 18:36:13 +00: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 19:25:08 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Decompression support always requires the next two files */
|
|
|
|
#if defined(WANT_MINIZ) || defined(HAVE_ZLIB)
|
2014-01-10 18:36:13 +00:00
|
|
|
#include "../deps/rzlib/ioapi.c"
|
|
|
|
#include "../deps/rzlib/unzip.c"
|
2012-11-19 04:43:57 +00:00
|
|
|
#endif
|
2012-11-20 02:40:39 +00:00
|
|
|
|
2014-09-02 17:41:43 +00:00
|
|
|
#ifdef HAVE_7ZIP
|
2014-09-02 19:45:14 +00:00
|
|
|
#include "../deps/7zip/7zIn.c"
|
|
|
|
#include "../deps/7zip/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 17:41:43 +00:00
|
|
|
#include "../decompress/7zip_support.c"
|
|
|
|
#endif
|
|
|
|
|
2012-11-20 03:15:12 +00:00
|
|
|
/*============================================================
|
2013-01-02 14:23:22 +00:00
|
|
|
XML
|
|
|
|
============================================================ */
|
2014-01-22 11:39:28 +00:00
|
|
|
#ifndef HAVE_LIBXML2
|
2013-01-02 14:23:22 +00:00
|
|
|
#define RXML_LIBXML2_COMPAT
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../compat/rxml/rxml.c"
|
2014-01-22 11:39:28 +00:00
|
|
|
#endif
|
2013-11-22 14:30:02 +00:00
|
|
|
/*============================================================
|
2014-09-14 04:29:40 +00:00
|
|
|
SETTINGS
|
2013-11-22 14:30:02 +00:00
|
|
|
============================================================ */
|
|
|
|
|
2014-05-03 16:38:29 +00:00
|
|
|
#include "../settings_data.c"
|
2014-05-22 20:00:59 +00:00
|
|
|
/*============================================================
|
|
|
|
AUDIO UTILS
|
|
|
|
============================================================ */
|
|
|
|
#include "../audio/utils.c"
|
2012-11-20 03:15:12 +00:00
|
|
|
|
2012-11-20 02:40:39 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
2013-01-09 04:57:02 +00:00
|
|
|
#endif
|