libports: use SDL's SDL_cdrom dummy implementation

Fixes #934.
This commit is contained in:
Josef Söntgen 2013-10-21 22:01:19 +02:00 committed by Norman Feske
parent c029557c8b
commit 4efd664619
2 changed files with 6 additions and 1 deletions

View File

@ -66,6 +66,11 @@ SRC_C += joystick/SDL_joystick.c \
joystick/dummy/SDL_sysjoystick.c
INC_DIR += $(SDL_DIR)/src/joystick
# cdrom subsystem
SRC_C += cdrom/SDL_cdrom.c \
cdrom/dummy/SDL_syscdrom.c
INC_DIR += $(SDL_DIR)/src/cdrom
# we need libc
LIBS = libc pthread

View File

@ -42,7 +42,7 @@
#define SDL_AUDIO_DRIVER_GENODE 1
/* Enable the stub cdrom driver (src/cdrom/dummy/\*.c) */
#define SDL_CDROM_DISABLED 1
#define SDL_CDROM_DUMMY 1
/* Enable the stub joystick driver (src/joystick/dummy/\*.c) */
#define SDL_JOYSTICK_DISABLED 1