From 1368eddee60b251c9197354c357076117dcf8354 Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Tue, 17 Sep 2024 15:45:05 -0400 Subject: [PATCH] libretro: Add docs around SET_CORE_INFO --- libretro-common/include/libretro.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libretro-common/include/libretro.h b/libretro-common/include/libretro.h index dea823bb3d..36b37fe13b 100644 --- a/libretro-common/include/libretro.h +++ b/libretro-common/include/libretro.h @@ -2572,7 +2572,8 @@ enum retro_mod /** * Sets a pointer to arbitrary data for the actively running core. * - * This is can be set in either \c retro_init() or \c retro_load_game(). + * Intended for use as a substitute for global state, which is a common + * source of bugs. Can be set in either \c retro_init() or \c retro_load_game(). * * @param[in] data void *. Pointer to the data to set. * @return \c true if the environment call is available.