2012-04-21 21:13:50 +00:00
|
|
|
/* RetroArch - A frontend for libretro.
|
2013-01-01 00:37:37 +00:00
|
|
|
* Copyright (C) 2010-2013 - Hans-Kristian Arntzen
|
|
|
|
* Copyright (C) 2011-2013 - 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/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#if defined(_XBOX)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../msvc/msvc_compat.h"
|
2012-04-13 23:02:37 +00:00
|
|
|
#endif
|
|
|
|
|
2013-04-18 13:04:09 +00:00
|
|
|
#if defined(HAVE_RMENU) || defined(HAVE_RGUI) || defined(HAVE_RMENU_XUI)
|
|
|
|
#define HAVE_MENU
|
|
|
|
#endif
|
|
|
|
|
2013-06-02 16:35:13 +00:00
|
|
|
#ifdef __CELLOS_LV2__
|
|
|
|
#include "../ps3/altivec_mem.c"
|
|
|
|
#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__)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../console/logger/psl1ght_logger.c"
|
2012-12-16 03:13:31 +00:00
|
|
|
#elif defined(HAVE_LOGGER) && !defined(ANDROID)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../console/logger/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"
|
2012-11-03 07:42:33 +00:00
|
|
|
#endif
|
|
|
|
|
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-03-18 04:46:19 +00:00
|
|
|
#include "../android/native/jni/cpufeatures.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
|
|
|
|
============================================================ */
|
|
|
|
#ifdef _XBOX
|
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"
|
2013-04-04 12:15:13 +00:00
|
|
|
#include "../core_options.c"
|
2012-04-13 23:02:37 +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
|
|
|
|
2012-05-27 23:15:00 +00:00
|
|
|
#ifdef HAVE_VID_CONTEXT
|
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"
|
2012-07-07 13:40:14 +00:00
|
|
|
#elif defined(_XBOX)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gfx/context/xdk_ctx.c"
|
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"
|
2013-02-25 02:43:19 +00:00
|
|
|
#elif defined(__BLACKBERRY_QNX__)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gfx/context/bbqnx_ctx.c"
|
2013-03-18 05:17:00 +00:00
|
|
|
#elif defined(IOS)
|
|
|
|
#include "../gfx/context/ioseagl_ctx.c"
|
2012-05-27 23:15:00 +00:00
|
|
|
#endif
|
|
|
|
|
2012-05-27 20:58:14 +00:00
|
|
|
#endif
|
|
|
|
|
2012-05-28 03:19:04 +00:00
|
|
|
/*============================================================
|
|
|
|
VIDEO SHADERS
|
|
|
|
============================================================ */
|
|
|
|
|
2013-04-07 02:17:44 +00:00
|
|
|
#if defined(HAVE_CG) || defined(HAVE_HLSL) || defined(HAVE_GLSL)
|
2013-04-06 09:30:56 +00:00
|
|
|
#include "../gfx/shader_parse.c"
|
|
|
|
#endif
|
|
|
|
|
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
|
|
|
|
|
2012-05-28 03:19:04 +00:00
|
|
|
/*============================================================
|
|
|
|
VIDEO IMAGE
|
|
|
|
============================================================ */
|
|
|
|
|
2012-05-27 20:39:29 +00:00
|
|
|
#if defined(__CELLOS_LV2__)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../ps3/image.c"
|
2012-08-05 15:18:19 +00:00
|
|
|
#elif defined(_XBOX1)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../xdk/image.c"
|
2013-05-22 14:02:21 +00:00
|
|
|
#elif defined(RARCH_MOBILE)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gfx/image.c"
|
|
|
|
#include "../gfx/rpng/rpng.c"
|
2012-05-28 03:19:04 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
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
|
|
|
|
|
2012-09-17 03:31:29 +00:00
|
|
|
#ifdef HAVE_DYLIB
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gfx/ext_gfx.c"
|
2012-09-17 03:31:29 +00:00
|
|
|
#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-01-10 02:34:43 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef _XBOX
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../xdk/xdk_d3d.cpp"
|
2013-01-10 02:34:43 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(GEKKO)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gx/gx_video.c"
|
2013-01-09 04:54:48 +00:00
|
|
|
#elif defined(SN_TARGET_PSP2)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../vita/vita_video.c"
|
2013-01-10 03:22:42 +00:00
|
|
|
//#elif defined(PSP)
|
2013-03-18 04:46:19 +00:00
|
|
|
//#include "../psp1/psp1_video.c"
|
2013-01-09 04:54:48 +00:00
|
|
|
#elif defined(XENON)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../xenon/xenon360_video.c"
|
2013-01-09 04:57:02 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(HAVE_NULLVIDEO)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gfx/null.c"
|
2013-01-09 04:54:48 +00:00
|
|
|
#endif
|
2012-06-20 04:39:52 +00:00
|
|
|
|
2012-05-27 02:02:07 +00:00
|
|
|
/*============================================================
|
|
|
|
FONTS
|
|
|
|
============================================================ */
|
|
|
|
|
2013-02-17 02:32:02 +00:00
|
|
|
#ifdef _XBOX
|
|
|
|
#define DONT_HAVE_BITMAPFONTS
|
|
|
|
#endif
|
|
|
|
|
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
|
|
|
|
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
|
|
|
|
|
|
|
|
#if !defined(DONT_HAVE_BITMAPFONTS)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gfx/fonts/fonts.c"
|
|
|
|
#include "../gfx/fonts/bitmapfont.c"
|
2013-02-17 02:32:02 +00:00
|
|
|
#endif
|
2012-12-14 21:35:23 +00:00
|
|
|
|
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
|
|
|
|
|
2012-12-15 02:59:31 +00:00
|
|
|
#ifdef _XBOX
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gfx/fonts/d3d_font.c"
|
2012-12-15 02:59:31 +00:00
|
|
|
#endif
|
|
|
|
|
2012-12-14 21:35:23 +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"
|
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__)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../ps3/ps3_input.c"
|
2012-11-23 01:40:03 +00:00
|
|
|
#elif defined(SN_TARGET_PSP2) || defined(PSP)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../psp/psp_input.c"
|
2012-04-14 11:42:25 +00:00
|
|
|
#elif defined(GEKKO)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gx/gx_input.c"
|
2012-07-31 18:56:05 +00:00
|
|
|
#elif defined(_XBOX)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../xdk/xdk_xinput_input.c"
|
2012-11-25 04:41:12 +00:00
|
|
|
#elif defined(XENON)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../xenon/xenon360_input.c"
|
2012-11-03 07:42:33 +00:00
|
|
|
#elif defined(ANDROID)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../android/native/jni/input_autodetect.c"
|
|
|
|
#include "../android/native/jni/input_android.c"
|
2013-03-20 03:30:12 +00:00
|
|
|
#elif defined(IOS)
|
|
|
|
#include "../ios/RetroArch/input/ios_input.c"
|
|
|
|
#include "../ios/RetroArch/input/ios_joypad.c"
|
2013-03-24 05:07:45 +00:00
|
|
|
#include "../ios/RetroArch/input/BTStack/btdynamic.c"
|
|
|
|
#include "../ios/RetroArch/input/BTStack/wiimote.c"
|
2013-03-24 17:13:36 +00:00
|
|
|
#include "../ios/RetroArch/input/BTStack/btpad.c"
|
2013-03-25 22:25:21 +00:00
|
|
|
#include "../ios/RetroArch/input/BTStack/btpad_ps3.c"
|
|
|
|
#include "../ios/RetroArch/input/BTStack/btpad_wii.c"
|
2013-03-18 22:56:07 +00:00
|
|
|
#elif defined(__BLACKBERRY_QNX__)
|
2013-05-10 22:49:48 +00:00
|
|
|
#include "../blackberry-qnx/qnx_input.c"
|
2013-01-09 04:57:02 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(HAVE_NULLINPUT)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../input/null.c"
|
2013-01-09 04:54:48 +00:00
|
|
|
#endif
|
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-02-17 12:30:02 +00:00
|
|
|
#ifdef _XBOX
|
2013-02-17 02:32:02 +00:00
|
|
|
#define DONT_HAVE_STATE_TRACKER
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef DONT_HAVE_STATE_TRACKER
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gfx/state_tracker.c"
|
2013-02-17 02:32:02 +00:00
|
|
|
#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
|
|
|
============================================================ */
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../audio/resampler.c"
|
|
|
|
#include "../audio/sinc.c"
|
2012-04-13 23:02:37 +00:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
RSOUND
|
|
|
|
============================================================ */
|
2012-05-22 15:26:23 +00:00
|
|
|
#ifdef HAVE_RSOUND
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../deps/librsound/librsound.c"
|
|
|
|
#include "../audio/rsound.c"
|
2012-04-13 23:02:37 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
AUDIO UTILS
|
|
|
|
============================================================ */
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../audio/utils.c"
|
2012-04-13 23:02:37 +00:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
AUDIO
|
|
|
|
============================================================ */
|
2012-07-01 13:18:26 +00:00
|
|
|
#if defined(__CELLOS_LV2__)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../ps3/ps3_audio.c"
|
2012-11-25 04:41:12 +00:00
|
|
|
#elif defined(XENON)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../xenon/xenon360_audio.c"
|
2012-04-14 11:42:25 +00:00
|
|
|
#elif defined(GEKKO)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gx/gx_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-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
|
|
|
|
|
2013-01-09 04:57:02 +00:00
|
|
|
#if defined(HAVE_NULLAUDIO)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../audio/null.c"
|
2012-07-08 16:30:19 +00:00
|
|
|
#endif
|
|
|
|
|
2012-09-17 03:31:29 +00:00
|
|
|
#ifdef HAVE_DYLIB
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../audio/ext_audio.c"
|
2012-09-17 03:31:29 +00:00
|
|
|
#endif
|
|
|
|
|
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
|
|
|
|
============================================================ */
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../gfx/scaler/filter.c"
|
|
|
|
#include "../gfx/scaler/pixconv.c"
|
|
|
|
#include "../gfx/scaler/scaler.c"
|
|
|
|
#include "../gfx/scaler/scaler_int.c"
|
2012-11-03 15:38:03 +00:00
|
|
|
|
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"
|
2012-04-13 23:02:37 +00:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
FILE
|
|
|
|
============================================================ */
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../file.c"
|
|
|
|
#include "../file_path.c"
|
2012-04-13 23:02:37 +00:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
MESSAGE
|
|
|
|
============================================================ */
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../message.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
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
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-01-09 04:54:48 +00:00
|
|
|
#elif defined(RARCH_CONSOLE) || defined(PSP)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../frontend/frontend_console.c"
|
2013-02-25 06:29:09 +00:00
|
|
|
#elif defined(__BLACKBERRY_QNX__)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../frontend/frontend_bbqnx.c"
|
2012-11-03 07:42:33 +00:00
|
|
|
#elif defined(ANDROID)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../frontend/frontend_android.c"
|
2013-04-03 00:39:51 +00:00
|
|
|
#elif defined(IOS)
|
|
|
|
#include "../frontend/frontend_ios.c"
|
2012-04-13 23:02:37 +00:00
|
|
|
#endif
|
|
|
|
|
2013-05-10 00:46:23 +00:00
|
|
|
#if (defined(__QNX__) && !defined(HAVE_BB10)) || !defined(RARCH_MOBILE)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../frontend/frontend.c"
|
2013-02-25 06:29:09 +00:00
|
|
|
#endif
|
|
|
|
|
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
|
|
|
============================================================ */
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../retroarch.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"
|
|
|
|
#include "../gfx/thread_wrapper.c"
|
2013-02-17 01:00:51 +00:00
|
|
|
#ifndef RARCH_CONSOLE
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../autosave.c"
|
2012-04-14 12:08:00 +00:00
|
|
|
#endif
|
2012-11-06 02:33: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"
|
|
|
|
#elif defined(HAVE_SCREENSHOTS)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../screenshot.c"
|
2012-08-20 01:30:09 +00:00
|
|
|
#endif
|
|
|
|
|
2012-04-13 23:02:37 +00:00
|
|
|
/*============================================================
|
|
|
|
MENU
|
|
|
|
============================================================ */
|
2013-04-18 13:04:09 +00:00
|
|
|
#ifdef HAVE_MENU
|
2013-04-17 21:31:49 +00:00
|
|
|
#include "../frontend/menu/menu_common.c"
|
2013-04-28 01:52:48 +00:00
|
|
|
#include "../frontend/menu/history.c"
|
2013-04-17 21:31:49 +00:00
|
|
|
|
2012-12-15 00:14:21 +00:00
|
|
|
#if defined(HAVE_RMENU_GUI)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../frontend/menu/rmenu.c"
|
2013-04-18 13:04:09 +00:00
|
|
|
#elif defined(HAVE_RGUI)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../frontend/menu/rgui.c"
|
2013-04-18 13:04:09 +00:00
|
|
|
#elif defined(HAVE_RMENU_XUI)
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../frontend/menu/rmenu_xui.cpp"
|
2013-01-09 17:31:14 +00:00
|
|
|
#endif
|
2013-04-18 13:04:09 +00:00
|
|
|
#endif
|
2013-01-09 17:31:14 +00:00
|
|
|
|
2012-11-20 02:40:39 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2012-11-19 04:43:57 +00:00
|
|
|
/*============================================================
|
|
|
|
RZLIB
|
|
|
|
============================================================ */
|
2013-02-16 20:43:29 +00:00
|
|
|
#ifdef WANT_MINIZ
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../deps/miniz/miniz.c"
|
|
|
|
#include "../deps/minizip/unzip.c"
|
2012-11-19 04:43:57 +00:00
|
|
|
#endif
|
2012-11-20 02:40:39 +00:00
|
|
|
|
2012-11-20 03:15:12 +00:00
|
|
|
/*============================================================
|
2013-01-02 14:23:22 +00:00
|
|
|
XML
|
|
|
|
============================================================ */
|
|
|
|
#define RXML_LIBXML2_COMPAT
|
2013-03-18 04:46:19 +00:00
|
|
|
#include "../compat/rxml/rxml.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
|