Squashed 'libretro-common/' changes from 71b08aa6b3..705d72b4a3

705d72b4a3 Merge pull request #74 from markwkidd/patch-1
3a06bdd07a update description of the "save" directory

git-subtree-dir: libretro-common
git-subtree-split: 705d72b4a30f8096118df443246c6e5c9e1f7e99
This commit is contained in:
twinaphex 2018-05-12 18:07:47 +02:00
parent 6ff58826d8
commit 75aea82256

View File

@ -778,17 +778,18 @@ enum retro_mod
*/ */
#define RETRO_ENVIRONMENT_GET_SAVE_DIRECTORY 31 #define RETRO_ENVIRONMENT_GET_SAVE_DIRECTORY 31
/* const char ** -- /* const char ** --
* Returns the "save" directory of the frontend. * Returns the "save" directory of the frontend, unless there is no
* This directory can be used to store SRAM, memory cards, * save directory available. The save directory should be used to
* high scores, etc, if the libretro core * store SRAM, memory cards, high scores, etc, if the libretro core
* cannot use the regular memory interface (retro_get_memory_data()). * cannot use the regular memory interface (retro_get_memory_data()).
* *
* NOTE: libretro cores used to check GET_SYSTEM_DIRECTORY for * If the frontend cannot designate a save directory, it will return
* similar things before. * NULL to indicate that the core should attempt to operate without a
* They should still check GET_SYSTEM_DIRECTORY if they want to * save directory set.
* be backwards compatible. *
* The path here can be NULL. It should only be non-NULL if the * NOTE: early libretro cores used the system directory for save
* frontend user has set a specific save path. * files. Cores that need to be backwards-compatible can still check
* GET_SYSTEM_DIRECTORY.
*/ */
#define RETRO_ENVIRONMENT_SET_SYSTEM_AV_INFO 32 #define RETRO_ENVIRONMENT_SET_SYSTEM_AV_INFO 32
/* const struct retro_system_av_info * -- /* const struct retro_system_av_info * --