mirror of
https://github.com/libretro/RetroArch
synced 2025-03-25 16:44:01 +00:00
Add some error messages if the null drivers are used.
This commit is contained in:
parent
7dcf0bbf99
commit
7b66b65823
@ -17,6 +17,8 @@
|
|||||||
|
|
||||||
static void *null_audio_init(const char *device, unsigned rate, unsigned latency)
|
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)device;
|
||||||
(void)rate;
|
(void)rate;
|
||||||
(void)latency;
|
(void)latency;
|
||||||
|
@ -20,6 +20,8 @@
|
|||||||
static void *null_gfx_init(const video_info_t *video,
|
static void *null_gfx_init(const video_info_t *video,
|
||||||
const input_driver_t **input, void **input_data)
|
const input_driver_t **input, void **input_data)
|
||||||
{
|
{
|
||||||
|
RARCH_ERR("Using the null video driver. RetroArch will not be visible.");
|
||||||
|
|
||||||
*input = NULL;
|
*input = NULL;
|
||||||
*input_data = NULL;
|
*input_data = NULL;
|
||||||
(void)video;
|
(void)video;
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
|
|
||||||
static void *nullinput_input_init(void)
|
static void *nullinput_input_init(void)
|
||||||
{
|
{
|
||||||
|
RARCH_ERR("Using the null input driver. RetroArch will ignore you.");
|
||||||
return (void*)-1;
|
return (void*)-1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user