mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
C89_BUILD buildfix
This commit is contained in:
parent
170ed8ea0f
commit
22f43a4b75
@ -2809,10 +2809,11 @@ unsigned *input_config_get_device_ptr(unsigned port)
|
||||
|
||||
unsigned input_config_get_device_count(void)
|
||||
{
|
||||
int i;
|
||||
unsigned num_devices = 0;
|
||||
input_driver_state_t *input_st = &input_driver_st;
|
||||
|
||||
for (int i = 0; i < MAX_INPUT_DEVICES; ++i)
|
||||
for (i = 0; i < MAX_INPUT_DEVICES; ++i)
|
||||
{
|
||||
if (string_is_empty(input_st->input_device_info[i].name))
|
||||
num_devices++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user