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
Fmsx
Commits
eacb52ba
Commit
eacb52ba
authored
Nov 15, 2021
by
Cayce
Browse files
enable second joystick, and fix 2 small spelling issues
parent
01731fc6
Changes
1
Hide whitespace changes
Inline
Side-by-side
libretro.c
View file @
eacb52ba
...
...
@@ -354,7 +354,7 @@ static void set_input_descriptors(void)
{
1
,
RETRO_DEVICE_JOYPAD
,
0
,
RETRO_DEVICE_ID_JOYPAD_DOWN
,
"Stick Down"
},
{
1
,
RETRO_DEVICE_JOYPAD
,
0
,
RETRO_DEVICE_ID_JOYPAD_RIGHT
,
"Stick Right"
},
{
1
,
RETRO_DEVICE_JOYPAD
,
0
,
RETRO_DEVICE_ID_JOYPAD_A
,
"Fire A"
},
{
1
,
RETRO_DEVICE_JOYPAD
,
0
,
RETRO_DEVICE_ID_JOYPAD_B
,
"FireB"
},
{
1
,
RETRO_DEVICE_JOYPAD
,
0
,
RETRO_DEVICE_ID_JOYPAD_B
,
"Fire
B"
},
{
0
},
};
struct
retro_input_descriptor
descriptors
[
32
];
...
...
@@ -396,7 +396,7 @@ void retro_set_environment(retro_environment_t cb)
{
"Joystick"
,
RETRO_DEVICE_JOYPAD
},
};
static
const
struct
retro_controller_description
port1
[]
=
{
{
"
j
oystick"
,
RETRO_DEVICE_JOYPAD
}
{
"
J
oystick"
,
RETRO_DEVICE_JOYPAD
}
};
static
const
struct
retro_controller_info
ports
[]
=
{
{
port0
,
4
},
...
...
@@ -650,8 +650,8 @@ bool retro_load_game(const struct retro_game_info *info)
CasName
=
NULL
;
}
SETJOYTYPE
(
0
,
1
);
SETJOYTYPE
(
0
,
JOY_STICK
);
SETJOYTYPE
(
1
,
JOY_STICK
);
fMSX_image
.
Cropped
=
0
;
fMSX_image
.
D
=
16
;
...
...
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