mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 09:32:52 +00:00
Bugfix to previous commit
This commit is contained in:
parent
44ccbe0122
commit
477b6ed893
@ -419,7 +419,7 @@ static void gx_input_set_keybinds(void *data, unsigned device, unsigned port,
|
||||
{
|
||||
for (size_t i = 0; i < arr_size; i++)
|
||||
{
|
||||
if (platform_keys[i].joykey == joykey)
|
||||
if (platform_keys[i].joykey == ret->joykey)
|
||||
{
|
||||
strlcpy(ret->desc, platform_keys[i].desc, sizeof(ret->desc));
|
||||
return;
|
||||
|
@ -497,7 +497,7 @@ static void ps3_input_set_keybinds(void *data, unsigned device,
|
||||
{
|
||||
for (size_t i = 0; i < arr_size; i++)
|
||||
{
|
||||
if (platform_keys[i].joykey == joykey)
|
||||
if (platform_keys[i].joykey == ret->joykey)
|
||||
{
|
||||
strlcpy(ret->desc, platform_keys[i].desc, sizeof(ret->desc));
|
||||
return;
|
||||
|
@ -370,7 +370,7 @@ static void xdk_input_set_keybinds(void *data, unsigned device,
|
||||
{
|
||||
for (size_t i = 0; i < arr_size; i++)
|
||||
{
|
||||
if (platform_keys[i].joykey == joykey)
|
||||
if (platform_keys[i].joykey == ret->joykey)
|
||||
{
|
||||
strlcpy(ret->desc, platform_keys[i].desc, sizeof(ret->desc));
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user