This commit is contained in:
libretroadmin 2024-09-15 22:46:23 +02:00
parent 68d02c1b94
commit 0abedaac6a
2 changed files with 15 additions and 0 deletions

View File

@ -123,6 +123,7 @@
/**
* TODO/FIXME: clock_gettime function is part of iOS 10 now
**/
#if __IPHONE_OS_VERSION_MIN_REQUIRED < 100000
static int ra_clock_gettime(int clk_ik, struct timespec *t)
{
struct timeval now;
@ -134,6 +135,7 @@ static int ra_clock_gettime(int clk_ik, struct timespec *t)
return 0;
}
#endif
#endif
#if defined(__MACH__) && __IPHONE_OS_VERSION_MIN_REQUIRED < 100000
#else

View File

@ -2556,6 +2556,19 @@ enum retro_mod
*/
#define RETRO_ENVIRONMENT_GET_PLAYLIST_DIRECTORY 79
/**
* Returns the "file browser" start directory of the frontend.
*
* This directory can serve as a start directory for the core in case it
* provides an internal way of loading content.
*
* @param[out] data <tt>const char **</tt>.
* May be \c NULL. If so, no such directory is defined, and it's up to the
* implementation to find a suitable directory.
* @return \c true if the environment call is available.
*/
#define RETRO_ENVIRONMENT_GET_FILE_BROWSER_START_DIRECTORY 80
/**@}*/
/**