Commit eacb52ba authored by Cayce's avatar Cayce
Browse files

enable second joystick, and fix 2 small spelling issues

parent 01731fc6
......@@ -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[] = {
{ "joystick", RETRO_DEVICE_JOYPAD}
{ "Joystick", 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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment