mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 00:20:01 +00:00
Take this out
This commit is contained in:
parent
26775a625a
commit
badac565da
@ -131,16 +131,13 @@ int16_t input_state_get_last(unsigned port,
|
||||
{
|
||||
InputListElement *element =
|
||||
(InputListElement*)input_state_list->data[i];
|
||||
const unsigned MAX_ID = sizeof(element->state) / sizeof(int16_t);
|
||||
|
||||
if ( (element->port == port) &&
|
||||
(element->device == device) &&
|
||||
(element->index == index))
|
||||
{
|
||||
if (id < element->state_size)
|
||||
{
|
||||
return element->state[id];
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user