Set RETRO_ENVIRONMENT_GET_CORE_DATA and RETRO_ENVIRONMENT_SET_CORE_DATA as experimental

This commit is contained in:
Rob Loach 2025-01-02 17:55:22 -05:00
parent 3edbf1e1c8
commit 7201865c2f
No known key found for this signature in database
GPG Key ID: 627C60834A74A21A
2 changed files with 9 additions and 3 deletions

View File

@ -68,7 +68,13 @@ struct retro_core_t
unsigned poll_type;
uint8_t flags;
void *core_data; /* Arbitrary core data. @see RETRO_ENVIRONMENT_GET_CORE_DATA */
/**
* Arbitrary core data.
*
* @see RETRO_ENVIRONMENT_GET_CORE_DATA
*/
void *core_data;
};

View File

@ -2584,7 +2584,7 @@ enum retro_mod
*
* @see RETRO_ENVIRONMENT_GET_CORE_DATA
*/
#define RETRO_ENVIRONMENT_SET_CORE_DATA 81
#define RETRO_ENVIRONMENT_SET_CORE_DATA (81 | RETRO_ENVIRONMENT_EXPERIMENTAL)
/**
* Gets a pointer to arbitrary data for the actively running core.
@ -2597,7 +2597,7 @@ enum retro_mod
*
* @see RETRO_ENVIRONMENT_SET_CORE_DATA
*/
#define RETRO_ENVIRONMENT_GET_CORE_DATA 82
#define RETRO_ENVIRONMENT_GET_CORE_DATA (82 | RETRO_ENVIRONMENT_EXPERIMENTAL)
/**@}*/