Commit 68a75379 authored by Libretro-Admin's avatar Libretro-Admin Committed by GitHub
Browse files

Merge pull request #4 from fr500/master

fix #3
parents 71cbcef6 4f4454e9
......@@ -2910,6 +2910,7 @@ void retro_set_environment(retro_environment_t cb)
{ "Saturn Joypad", RETRO_DEVICE_JOYPAD },
{ "3D Pad", RETRO_DEVICE_SS_3D_PAD },
{ "Mouse", RETRO_DEVICE_SS_MOUSE },
{ NULL, 0 },
};
static const struct retro_controller_info ports[] = {
......@@ -2925,7 +2926,7 @@ void retro_set_environment(retro_environment_t cb)
};
cb(RETRO_ENVIRONMENT_SET_VARIABLES, (void*)vars);
environ_cb(RETRO_ENVIRONMENT_SET_CONTROLLER_INFO, (void*)ports);
cb(RETRO_ENVIRONMENT_SET_CONTROLLER_INFO, (void*)ports);
}
void retro_set_audio_sample(retro_audio_sample_t cb)
......
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