Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
beetle-saturn-libretro
Commits
5743591f
Commit
5743591f
authored
Aug 13, 2016
by
Libretro-Admin
Browse files
Fix controls - L2 (L) should work now, B (A) should work now
parent
58ebb916
Changes
1
Hide whitespace changes
Inline
Side-by-side
libretro.cpp
View file @
5743591f
...
...
@@ -2374,7 +2374,7 @@ error:
}
#define MAX_PLAYERS 8
#define MAX_BUTTONS 1
6
#define MAX_BUTTONS 1
2
union
{
...
...
@@ -2637,6 +2637,7 @@ static void update_input(void)
{
for
(
unsigned
i
=
0
;
i
<
MAX_BUTTONS
;
i
++
)
input_buf
[
j
]
|=
input_state_cb
(
j
,
RETRO_DEVICE_JOYPAD
,
0
,
map
[
i
])
?
(
1
<<
i
)
:
0
;
input_buf
[
j
]
|=
input_state_cb
(
j
,
RETRO_DEVICE_JOYPAD
,
0
,
RETRO_DEVICE_ID_JOYPAD_L2
)
?
(
1
<<
15
)
:
0
;
}
// Buttons.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment