Only build in start/stop/restart on RARCH_CONSOLE.

This commit is contained in:
Themaister 2012-07-08 17:29:09 +02:00
parent ded6f69933
commit 23904c4740

View File

@ -62,9 +62,11 @@ static void null_gfx_free(void *data)
(void)data; (void)data;
} }
#ifdef RARCH_CONSOLE
static void null_gfx_start(void) {} static void null_gfx_start(void) {}
static void null_gfx_restart(void) {} static void null_gfx_restart(void) {}
static void null_gfx_stop(void) {} static void null_gfx_stop(void) {}
#endif
const video_driver_t video_null = { const video_driver_t video_null = {
null_gfx_init, null_gfx_init,
@ -75,6 +77,7 @@ const video_driver_t video_null = {
NULL, NULL,
null_gfx_free, null_gfx_free,
"null", "null",
#ifdef RARCH_CONSOLE #ifdef RARCH_CONSOLE
null_gfx_start, null_gfx_start,
null_gfx_stop, null_gfx_stop,