notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fbd15c
)
Update libretro.c
author
Twinaphex
<libretro@gmail.com>
Thu, 27 Jun 2019 10:57:14 +0000
(12:57 +0200)
committer
GitHub
<noreply@github.com>
Thu, 27 Jun 2019 10:57:14 +0000
(12:57 +0200)
frontend/libretro.c
patch
|
blob
|
blame
|
history
diff --git
a/frontend/libretro.c
b/frontend/libretro.c
index
9971a4f
..
3689297
100644
(file)
--- a/
frontend/libretro.c
+++ b/
frontend/libretro.c
@@
-1791,11
+1791,11
@@
void retro_run(void)
ret = input_state_cb(i, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_MASK);
else
{
- unsigned
i
;
- for (
i = 0; i < RETRO_DEVICE_ID_JOYPAD_R3+1; i
++)
+ unsigned
j
;
+ for (
j = 0; j < (RETRO_DEVICE_ID_JOYPAD_R3+1); j
++)
{
- if (input_state_cb(i, RETRO_DEVICE_JOYPAD, 0,
i
))
- ret |= (1 <<
i
);
+ if (input_state_cb(i, RETRO_DEVICE_JOYPAD, 0,
j
))
+ ret |= (1 <<
j
);
}
}