libretro: Add rumble interface

This commit is contained in:
Connor McLaughlin
2020-08-19 00:04:37 +10:00
parent c9c2c00c1a
commit de388d342f
3 changed files with 35 additions and 10 deletions

View File

@ -122,12 +122,7 @@ RETRO_API size_t retro_get_memory_size(unsigned id)
RETRO_API void retro_set_environment(retro_environment_t f)
{
g_retro_environment_callback = f;
if (!g_libretro_host_interface.SetCoreOptions())
Log_WarningPrintf("Failed to set core options, settings will not be changeable.");
g_libretro_host_interface.InitLogging();
g_libretro_host_interface.InitDiskControlInterface();
g_libretro_host_interface.InitInterfaces();
}
RETRO_API void retro_set_video_refresh(retro_video_refresh_t f)