Update libretro-common

This commit is contained in:
twinaphex 2018-08-07 05:43:19 +02:00
parent 0fb7d6a9e4
commit 1bda6ba204

View File

@ -2190,17 +2190,26 @@ struct retro_system_info
* Typically used for a GUI to filter * Typically used for a GUI to filter
* out extensions. */ * out extensions. */
/* If true, retro_load_game() is guaranteed to provide a valid pathname /* Libretro cores that need to have direct access to their content
* in retro_game_info::path. * files, including cores which use the path of the content files to
* ::data and ::size are both invalid. * determine the paths of other files, should set need_fullpath to true.
* *
* If false, ::data and ::size are guaranteed to be valid, but ::path * Cores should strive for setting need_fullpath to false,
* might not be valid. * as it allows the frontend to perform patching, etc.
* *
* This is typically set to true for libretro implementations that must * If need_fullpath is true and retro_load_game() is called:
* load from file. * - retro_game_info::path is guaranteed to have a valid path
* Implementations should strive for setting this to false, as it allows * - retro_game_info::data and retro_game_info::size are invalid
* the frontend to perform patching, etc. */ *
* If need_fullpath is false and retro_load_game() is called:
* - retro_game_info::path may be NULL
* - retro_game_info::data and retro_game_info::size are guaranteed
* to be valid
*
* See also:
* - RETRO_ENVIRONMENT_GET_SYSTEM_DIRECTORY
* - RETRO_ENVIRONMENT_GET_SAVE_DIRECTORY
*/
bool need_fullpath; bool need_fullpath;
/* If true, the frontend is not allowed to extract any archives before /* If true, the frontend is not allowed to extract any archives before