mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
Buildfix
This commit is contained in:
parent
12c81bc073
commit
878ad88e5b
@ -17151,6 +17151,7 @@ static void input_driver_init_command(struct rarch_state *p_rarch,
|
||||
|
||||
if (input_stdin_cmd_enable)
|
||||
{
|
||||
input_driver_state_t *input_st= input_state_get_ptr();
|
||||
bool grab_stdin =
|
||||
input_st->current_driver->grab_stdin &&
|
||||
input_st->current_driver->grab_stdin(input_st->current_data);
|
||||
@ -17160,7 +17161,8 @@ static void input_driver_init_command(struct rarch_state *p_rarch,
|
||||
"but input driver has already claimed stdin.\n"
|
||||
"Cannot use this command interface.\n");
|
||||
}
|
||||
else {
|
||||
else
|
||||
{
|
||||
p_rarch->input_driver_command[0] = command_stdin_new();
|
||||
if (!p_rarch->input_driver_command[1])
|
||||
RARCH_ERR("Failed to initialize the stdin command interface.\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user