(PSP) comment out non-working video driver for now - use null video

for now
This commit is contained in:
twinaphex 2013-01-10 04:22:42 +01:00
parent 47c421eb8f
commit 1b398a1941
4 changed files with 10 additions and 10 deletions

View File

@ -5,10 +5,10 @@ HAVE_FILE_LOGGER = 1
TARGET = retroarchpsp
INCDIR =
CFLAGS = -O2 -G0 -Wall -g -std=gnu99 -ffast-math
CFLAGS = -O2 -G0 -g -std=gnu99 -ffast-math
ASFLAGS = $(CFLAGS)
RARCH_DEFINES = -DPSP -DHAVE_DEFAULT_RETROPAD_INPUT -DRARCH_CONSOLE -DHAVE_FILEBROWSER -DHAVE_RARCH_MAIN_WRAP -DHAVE_LIBRETRO_MANAGEMENT -DHAVE_ZLIB -DWANT_RZLIB -DHAVE_GRIFFIN=1 -DPACKAGE_VERSION=\"$(RARCH_VERSION)\" -Dmain=rarch_main
RARCH_DEFINES = -DPSP -DHAVE_DEFAULT_RETROPAD_INPUT -DHAVE_FILEBROWSER -DHAVE_RARCH_MAIN_WRAP -DHAVE_LIBRETRO_MANAGEMENT -DHAVE_ZLIB -DWANT_RZLIB -DHAVE_GRIFFIN=1 -DPACKAGE_VERSION=\"$(RARCH_VERSION)\" -Dmain=rarch_main -DHAVE_NULLVIDEO -DHAVE_NULLAUDIO -DHAVE_RMENU
ifeq ($(HAVE_FILE_LOGGER), 1)
CFLAGS += -DHAVE_FILE_LOGGER

View File

@ -168,8 +168,8 @@ VIDEO DRIVER
#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(PSP)
//#include "../../psp1/psp1_video.c"
#elif defined(XENON)
#include "../../xenon/xenon360_video.c"
#endif

View File

@ -98,9 +98,9 @@ static const video_driver_t *video_drivers[] = {
#ifdef SN_TARGET_PSP2
&video_vita,
#endif
#ifdef PSP
&video_psp1,
#endif
//#ifdef PSP
//&video_psp1,
//#endif
#ifdef HAVE_SDL
&video_sdl,
#endif

View File

@ -124,9 +124,9 @@ static inline bool input_key_pressed_func(int key)
#define video_viewport_size_func(width, height) ((void)0)
#define video_read_viewport_func(buffer) (false)
#elif defined(PSP) /* PSP1 */
#define MAKENAME_VIDEO(A) CONCAT2(psp, A)
#define video_set_aspect_ratio_func(aspectratio_idx) (true)
//#elif defined(PSP) /* PSP1 */
//#define MAKENAME_VIDEO(A) CONCAT2(psp, A)
//#define video_set_aspect_ratio_func(aspectratio_idx) (true)
#else /* NULL */
#define MAKENAME_VIDEO(A) CONCAT2(nullvideo, A)