From 7201865c2f8814b1e03e82a08e797c8f7203fe42 Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Thu, 2 Jan 2025 17:55:22 -0500 Subject: [PATCH] Set RETRO_ENVIRONMENT_GET_CORE_DATA and RETRO_ENVIRONMENT_SET_CORE_DATA as experimental --- dynamic.h | 8 +++++++- libretro-common/include/libretro.h | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/dynamic.h b/dynamic.h index 084ccf67d3..0f1d238ee7 100644 --- a/dynamic.h +++ b/dynamic.h @@ -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; }; diff --git a/libretro-common/include/libretro.h b/libretro-common/include/libretro.h index f5a96ea697..de3613bfeb 100644 --- a/libretro-common/include/libretro.h +++ b/libretro-common/include/libretro.h @@ -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) /**@}*/