Add some error messages if the null drivers are used.

This commit is contained in:
Alcaro 2015-11-23 19:42:31 +01:00
parent 7dcf0bbf99
commit 7b66b65823
3 changed files with 5 additions and 0 deletions

View File

@ -17,6 +17,8 @@
static void *null_audio_init(const char *device, unsigned rate, unsigned latency)
{
RARCH_ERR("Using the null audio driver. RetroArch will be silent.");
(void)device;
(void)rate;
(void)latency;

View File

@ -20,6 +20,8 @@
static void *null_gfx_init(const video_info_t *video,
const input_driver_t **input, void **input_data)
{
RARCH_ERR("Using the null video driver. RetroArch will not be visible.");
*input = NULL;
*input_data = NULL;
(void)video;

View File

@ -19,6 +19,7 @@
static void *nullinput_input_init(void)
{
RARCH_ERR("Using the null input driver. RetroArch will ignore you.");
return (void*)-1;
}