mirror of
https://github.com/libretro/RetroArch
synced 2025-04-25 09:02:44 +00:00
Null drivers have to be explicitly compiled in now -
otherwise they are ommitted
This commit is contained in:
parent
0bd19afad6
commit
403a087926
@ -33,10 +33,6 @@ CONSOLE EXTENSIONS
|
|||||||
============================================================ */
|
============================================================ */
|
||||||
#ifdef RARCH_CONSOLE
|
#ifdef RARCH_CONSOLE
|
||||||
|
|
||||||
#include "../rarch_console.h"
|
|
||||||
|
|
||||||
default_paths_t default_paths;
|
|
||||||
|
|
||||||
#include "../rarch_console_rom_ext.c"
|
#include "../rarch_console_rom_ext.c"
|
||||||
#include "../rarch_console_video.c"
|
#include "../rarch_console_video.c"
|
||||||
|
|
||||||
@ -99,7 +95,7 @@ VIDEO CONTEXT
|
|||||||
#ifdef HAVE_VID_CONTEXT
|
#ifdef HAVE_VID_CONTEXT
|
||||||
#include "../../gfx/gfx_context.c"
|
#include "../../gfx/gfx_context.c"
|
||||||
|
|
||||||
#if defined(__CELLOS_LV2__) && !defined(__PSL1GHT__)
|
#if defined(__CELLOS_LV2__)
|
||||||
#include "../../gfx/context/ps3_ctx.c"
|
#include "../../gfx/context/ps3_ctx.c"
|
||||||
#elif defined(_XBOX)
|
#elif defined(_XBOX)
|
||||||
#include "../../gfx/context/xdk_ctx.c"
|
#include "../../gfx/context/xdk_ctx.c"
|
||||||
@ -143,19 +139,11 @@ VIDEO DRIVER
|
|||||||
|
|
||||||
#if defined(HAVE_OPENGL)
|
#if defined(HAVE_OPENGL)
|
||||||
#include "../../gfx/math/matrix.c"
|
#include "../../gfx/math/matrix.c"
|
||||||
#include "../../gfx/gl.c"
|
|
||||||
#elif defined(GEKKO)
|
#elif defined(GEKKO)
|
||||||
#ifdef HW_RVL
|
#ifdef HW_RVL
|
||||||
#include "../../wii/vi_encoder.c"
|
#include "../../wii/vi_encoder.c"
|
||||||
#include "../../wii/mem2_manager.c"
|
#include "../../wii/mem2_manager.c"
|
||||||
#endif
|
#endif
|
||||||
#include "../../gx/gx_video.c"
|
|
||||||
#elif defined(SN_TARGET_PSP2)
|
|
||||||
#include "../../vita/vita_video.c"
|
|
||||||
#elif defined(PSP)
|
|
||||||
#include "../../psp1/psp1_video.c"
|
|
||||||
#elif defined(XENON)
|
|
||||||
#include "../../360/xenon360_video.c"
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_DYLIB
|
#ifdef HAVE_DYLIB
|
||||||
@ -166,10 +154,23 @@ VIDEO DRIVER
|
|||||||
|
|
||||||
#ifdef _XBOX
|
#ifdef _XBOX
|
||||||
#include "../../xdk/xdk_resources.cpp"
|
#include "../../xdk/xdk_resources.cpp"
|
||||||
#include "../../xdk/xdk_d3d.cpp"
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(HAVE_OPENGL)
|
||||||
|
#include "../../gfx/gl.c"
|
||||||
|
#elif defined(_XBOX)
|
||||||
|
#include "../../xdk/xdk_d3d.cpp"
|
||||||
|
#elif defined(GEKKO)
|
||||||
|
#include "../../gx/gx_video.c"
|
||||||
|
#elif defined(SN_TARGET_PSP2)
|
||||||
|
#include "../../vita/vita_video.c"
|
||||||
|
#elif defined(PSP)
|
||||||
|
#include "../../psp1/psp1_video.c"
|
||||||
|
#elif defined(XENON)
|
||||||
|
#include "../../360/xenon360_video.c"
|
||||||
|
#else
|
||||||
#include "../../gfx/null.c"
|
#include "../../gfx/null.c"
|
||||||
|
#endif
|
||||||
|
|
||||||
/*============================================================
|
/*============================================================
|
||||||
FONTS
|
FONTS
|
||||||
@ -244,9 +245,9 @@ INPUT
|
|||||||
#elif defined(ANDROID)
|
#elif defined(ANDROID)
|
||||||
#include "../../android/native/jni/input_autodetect.c"
|
#include "../../android/native/jni/input_autodetect.c"
|
||||||
#include "../../android/native/jni/input_android.c"
|
#include "../../android/native/jni/input_android.c"
|
||||||
#endif
|
#else
|
||||||
|
|
||||||
#include "../../input/null.c"
|
#include "../../input/null.c"
|
||||||
|
#endif
|
||||||
|
|
||||||
/*============================================================
|
/*============================================================
|
||||||
STATE TRACKER
|
STATE TRACKER
|
||||||
@ -291,22 +292,18 @@ AUDIO
|
|||||||
#include "../../360/xenon360_audio.c"
|
#include "../../360/xenon360_audio.c"
|
||||||
#elif defined(GEKKO)
|
#elif defined(GEKKO)
|
||||||
#include "../../gx/gx_audio.c"
|
#include "../../gx/gx_audio.c"
|
||||||
#endif
|
#elif defined(HAVE_DSOUND)
|
||||||
|
|
||||||
#ifdef HAVE_DSOUND
|
|
||||||
#include "../../audio/dsound.c"
|
#include "../../audio/dsound.c"
|
||||||
|
#elif defined(HAVE_SL)
|
||||||
|
#include "../../audio/opensl.c"
|
||||||
|
#else
|
||||||
|
#include "../../audio/null.c"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_DYLIB
|
#ifdef HAVE_DYLIB
|
||||||
#include "../../audio/ext_audio.c"
|
#include "../../audio/ext_audio.c"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_SL
|
|
||||||
#include "../../audio/opensl.c"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "../../audio/null.c"
|
|
||||||
|
|
||||||
/*============================================================
|
/*============================================================
|
||||||
DRIVERS
|
DRIVERS
|
||||||
============================================================ */
|
============================================================ */
|
||||||
@ -320,7 +317,6 @@ SCALERS
|
|||||||
#include "../../gfx/scaler/scaler.c"
|
#include "../../gfx/scaler/scaler.c"
|
||||||
#include "../../gfx/scaler/scaler_int.c"
|
#include "../../gfx/scaler/scaler_int.c"
|
||||||
|
|
||||||
|
|
||||||
/*============================================================
|
/*============================================================
|
||||||
DYNAMIC
|
DYNAMIC
|
||||||
============================================================ */
|
============================================================ */
|
||||||
@ -360,7 +356,7 @@ MAIN
|
|||||||
============================================================ */
|
============================================================ */
|
||||||
#if defined(XENON)
|
#if defined(XENON)
|
||||||
#include "../../frontend/frontend_xenon.c"
|
#include "../../frontend/frontend_xenon.c"
|
||||||
#elif defined(__CELLOS_LV2__) || defined(GEKKO) || defined(_XBOX) || defined(PSP)
|
#elif defined(RARCH_CONSOLE) || defined(PSP)
|
||||||
#include "../../frontend/frontend_console.c"
|
#include "../../frontend/frontend_console.c"
|
||||||
#elif defined(ANDROID)
|
#elif defined(ANDROID)
|
||||||
#include "../../frontend/frontend_android.c"
|
#include "../../frontend/frontend_android.c"
|
||||||
|
6
driver.c
6
driver.c
@ -80,7 +80,9 @@ static const audio_driver_t *audio_drivers[] = {
|
|||||||
#ifdef GEKKO
|
#ifdef GEKKO
|
||||||
&audio_gx,
|
&audio_gx,
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_NULLAUDIO
|
||||||
&audio_null,
|
&audio_null,
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static const video_driver_t *video_drivers[] = {
|
static const video_driver_t *video_drivers[] = {
|
||||||
@ -114,7 +116,9 @@ static const video_driver_t *video_drivers[] = {
|
|||||||
#ifdef HAVE_VG
|
#ifdef HAVE_VG
|
||||||
&video_vg,
|
&video_vg,
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_NULLVIDEO
|
||||||
&video_null,
|
&video_null,
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static const input_driver_t *input_drivers[] = {
|
static const input_driver_t *input_drivers[] = {
|
||||||
@ -148,7 +152,9 @@ static const input_driver_t *input_drivers[] = {
|
|||||||
#if defined(__linux__) && !defined(ANDROID)
|
#if defined(__linux__) && !defined(ANDROID)
|
||||||
&input_linuxraw,
|
&input_linuxraw,
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_NULLINPUT
|
||||||
&input_null,
|
&input_null,
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static void find_audio_driver(void)
|
static void find_audio_driver(void)
|
||||||
|
@ -36,6 +36,8 @@
|
|||||||
|
|
||||||
#undef main
|
#undef main
|
||||||
|
|
||||||
|
default_paths_t default_paths;
|
||||||
|
|
||||||
#ifdef IS_SALAMANDER
|
#ifdef IS_SALAMANDER
|
||||||
|
|
||||||
//We need to set libretro to the first entry in the cores
|
//We need to set libretro to the first entry in the cores
|
||||||
|
@ -83,8 +83,6 @@
|
|||||||
|
|
||||||
#ifdef IS_SALAMANDER
|
#ifdef IS_SALAMANDER
|
||||||
|
|
||||||
default_paths_t default_paths;
|
|
||||||
|
|
||||||
static void find_and_set_first_file(void)
|
static void find_and_set_first_file(void)
|
||||||
{
|
{
|
||||||
//Last fallback - we'll need to start the first executable file
|
//Last fallback - we'll need to start the first executable file
|
||||||
|
@ -49,8 +49,6 @@ SYS_PROCESS_PARAM(1001, 0x100000)
|
|||||||
SYS_PROCESS_PARAM(1001, 0x200000)
|
SYS_PROCESS_PARAM(1001, 0x200000)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef main
|
|
||||||
|
|
||||||
#ifdef IS_SALAMANDER
|
#ifdef IS_SALAMANDER
|
||||||
#include <netex/net.h>
|
#include <netex/net.h>
|
||||||
#include <np.h>
|
#include <np.h>
|
||||||
@ -58,8 +56,6 @@ SYS_PROCESS_PARAM(1001, 0x200000)
|
|||||||
#include <cell/pad.h>
|
#include <cell/pad.h>
|
||||||
#include <cell/sysmodule.h>
|
#include <cell/sysmodule.h>
|
||||||
|
|
||||||
default_paths_t default_paths;
|
|
||||||
|
|
||||||
static void find_and_set_first_file(void)
|
static void find_and_set_first_file(void)
|
||||||
{
|
{
|
||||||
//Last fallback - we'll need to start the first executable file
|
//Last fallback - we'll need to start the first executable file
|
||||||
|
@ -22,7 +22,6 @@
|
|||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#undef main
|
|
||||||
#include "../../psp/sdk_defines.h"
|
#include "../../psp/sdk_defines.h"
|
||||||
|
|
||||||
PSP_MODULE_INFO("RetroArch PSP", 0, 1, 1);
|
PSP_MODULE_INFO("RetroArch PSP", 0, 1, 1);
|
||||||
|
@ -46,8 +46,6 @@
|
|||||||
|
|
||||||
#ifdef IS_SALAMANDER
|
#ifdef IS_SALAMANDER
|
||||||
|
|
||||||
default_paths_t default_paths;
|
|
||||||
|
|
||||||
static void find_and_set_first_file(void)
|
static void find_and_set_first_file(void)
|
||||||
{
|
{
|
||||||
//Last fallback - we'll need to start the first executable file
|
//Last fallback - we'll need to start the first executable file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user