mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 00:20: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)
|
||||
{
|
||||
RARCH_ERR("Using the null audio driver. RetroArch will be silent.");
|
||||
|
||||
(void)device;
|
||||
(void)rate;
|
||||
(void)latency;
|
||||
|
@ -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;
|
||||
|
@ -19,6 +19,7 @@
|
||||
|
||||
static void *nullinput_input_init(void)
|
||||
{
|
||||
RARCH_ERR("Using the null input driver. RetroArch will ignore you.");
|
||||
return (void*)-1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user