2012-04-21 23:13:50 +02:00
|
|
|
/* RetroArch - A frontend for libretro.
|
2012-04-14 01:02:37 +02:00
|
|
|
* Copyright (C) 2010-2012 - Hans-Kristian Arntzen
|
|
|
|
* Copyright (C) 2011-2012 - Daniel De Matteis
|
|
|
|
*
|
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/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#if defined(_XBOX)
|
|
|
|
#include "../../msvc/msvc_compat.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
CONSOLE EXTENSIONS
|
|
|
|
============================================================ */
|
|
|
|
#include "../console_ext.c"
|
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
COMPATIBILITY
|
|
|
|
============================================================ */
|
|
|
|
#include "../../compat/compat.c"
|
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
CONFIG FILE
|
|
|
|
============================================================ */
|
|
|
|
#ifdef _XBOX
|
2012-04-21 23:25:32 +02:00
|
|
|
#undef __RARCH_POSIX_STRING_H
|
|
|
|
#undef __RARCH_MSVC_COMPAT_H
|
2012-04-14 01:02:37 +02:00
|
|
|
#undef strcasecmp
|
|
|
|
#endif
|
|
|
|
#include "../../conf/config_file.c"
|
|
|
|
|
|
|
|
#include "func_hooks.h"
|
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
VIDEO
|
|
|
|
============================================================ */
|
|
|
|
#if defined(__CELLOS_LV2__)
|
2012-05-26 14:59:42 +02:00
|
|
|
#include "../../gfx/context/ps3_ctx.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
#include "../../gfx/shader_cg.c"
|
|
|
|
#include "../../ps3/ps3_video_psgl.c"
|
|
|
|
#include "../../ps3/image.c"
|
|
|
|
#elif defined(_XBOX)
|
2012-04-14 21:45:43 +02:00
|
|
|
#include "../../gfx/shader_hlsl.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
#include "../../360/xdk360_video.cpp"
|
2012-04-14 13:42:25 +02:00
|
|
|
#elif defined(GEKKO)
|
|
|
|
#include "../../wii/video.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(_XBOX)
|
2012-04-14 01:02:37 +02:00
|
|
|
#include "../../360/fonts.cpp"
|
2012-04-14 13:42:25 +02:00
|
|
|
#elif defined(GEKKO)
|
|
|
|
#include "../../gfx/fonts.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
INPUT
|
|
|
|
============================================================ */
|
|
|
|
#if defined(__CELLOS_LV2__)
|
|
|
|
#include "../../ps3/ps3_input.c"
|
|
|
|
#elif defined(_XBOX)
|
|
|
|
#include "../../360/xdk360_input.c"
|
2012-04-14 13:42:25 +02:00
|
|
|
#elif defined(GEKKO)
|
|
|
|
#include "../../wii/input.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
SNES STATE
|
|
|
|
============================================================ */
|
|
|
|
#include "../../gfx/state_tracker.c"
|
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
DRIVERS
|
|
|
|
============================================================ */
|
|
|
|
#include "../../driver.c"
|
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
FIFO BUFFER
|
|
|
|
============================================================ */
|
|
|
|
#include "../../fifo_buffer.c"
|
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
AUDIO HERMITE
|
|
|
|
============================================================ */
|
|
|
|
#include "../../audio/hermite.c"
|
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
RSOUND
|
|
|
|
============================================================ */
|
2012-05-22 17:26:23 +02:00
|
|
|
#ifdef HAVE_RSOUND
|
2012-04-14 01:02:37 +02:00
|
|
|
#include "../../console/librsound/librsound.c"
|
|
|
|
#include "../../audio/rsound.c"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
AUDIO UTILS
|
|
|
|
============================================================ */
|
|
|
|
#include "../../audio/utils.c"
|
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
AUDIO
|
|
|
|
============================================================ */
|
|
|
|
#if defined(__CELLOS_LV2__)
|
|
|
|
#include "../../ps3/ps3_audio.c"
|
|
|
|
#elif defined(_XBOX)
|
|
|
|
#include "../../360/xdk360_audio.cpp"
|
2012-04-14 13:42:25 +02:00
|
|
|
#elif defined(GEKKO)
|
|
|
|
#include "../../wii/audio.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
DYNAMIC
|
|
|
|
============================================================ */
|
|
|
|
#include "../../dynamic.c"
|
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
FILE
|
|
|
|
============================================================ */
|
2012-05-22 22:11:21 +02:00
|
|
|
#ifdef HAVE_FILEBROWSER
|
2012-04-14 01:02:37 +02:00
|
|
|
#include "../fileio/file_browser.c"
|
|
|
|
#endif
|
|
|
|
#include "../../file.c"
|
|
|
|
#include "../../file_path.c"
|
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
MESSAGE
|
|
|
|
============================================================ */
|
|
|
|
#include "../../message.c"
|
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
PATCH
|
|
|
|
============================================================ */
|
|
|
|
#include "../../patch.c"
|
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
SETTINGS
|
|
|
|
============================================================ */
|
|
|
|
#include "../../settings.c"
|
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
REWIND
|
|
|
|
============================================================ */
|
|
|
|
#include "../../rewind.c"
|
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
MAIN
|
|
|
|
============================================================ */
|
|
|
|
#if defined(__CELLOS_LV2__)
|
|
|
|
#include "../../ps3/main.c"
|
|
|
|
#elif defined(_XBOX)
|
|
|
|
#include "../../360/main.c"
|
2012-04-14 13:42:25 +02:00
|
|
|
#elif defined(GEKKO)
|
|
|
|
#include "../../wii/main.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/*============================================================
|
2012-04-22 02:06:34 +02:00
|
|
|
RETROARCH
|
2012-04-14 01:02:37 +02:00
|
|
|
============================================================ */
|
2012-04-21 23:48:05 +02:00
|
|
|
#include "../../retroarch.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
THREAD
|
|
|
|
============================================================ */
|
2012-04-14 14:08:00 +02:00
|
|
|
#ifndef GEKKO
|
2012-04-14 01:02:37 +02:00
|
|
|
#include "../../thread.c"
|
2012-04-14 14:08:00 +02:00
|
|
|
#endif
|
2012-04-14 01:02:37 +02:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
NETPLAY
|
|
|
|
============================================================ */
|
2012-04-14 14:08:00 +02:00
|
|
|
#ifndef GEKKO
|
2012-04-14 01:02:37 +02:00
|
|
|
#include "../../netplay.c"
|
2012-04-14 14:08:00 +02:00
|
|
|
#endif
|
2012-04-14 01:02:37 +02:00
|
|
|
|
|
|
|
/*============================================================
|
|
|
|
MENU
|
|
|
|
============================================================ */
|
|
|
|
#if defined(__CELLOS_LV2__)
|
|
|
|
#include "../../ps3/menu.c"
|
|
|
|
#elif defined(_XBOX)
|
|
|
|
#include "../../360/menu.cpp"
|
2012-04-14 13:42:25 +02:00
|
|
|
#elif defined(GEKKO)
|
2012-05-06 04:04:33 +02:00
|
|
|
#include "../rgui/rgui.c"
|
|
|
|
#include "../rgui/list.c"
|
2012-04-14 01:02:37 +02:00
|
|
|
#endif
|