From 1a9c4df8f60aebefdffd78ad69666c6cbcc70923 Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Fri, 17 May 2024 12:54:31 -0400 Subject: [PATCH] libretro: Fix documentation for RETRO_GET_MIDI_INTERFACE As pointed out by @bbbradsmith in https://github.com/libretro/libretro-common/issues/209 , `RETRO_ENVIRONMENT_GET_MIDI_INTERFACE` is a pointer to a struct, rather than a struct array. This updates the documentation to reflect that. Fixes https://github.com/libretro/libretro-common/issues/209 --- libretro-common/include/libretro.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretro-common/include/libretro.h b/libretro-common/include/libretro.h index 187cb318a0..7e7b9505b7 100644 --- a/libretro-common/include/libretro.h +++ b/libretro-common/include/libretro.h @@ -1763,7 +1763,7 @@ enum retro_mod /** * Gets an interface that the core can use for raw MIDI I/O. * - * @param[out] data struct retro_midi_interface **. + * @param[out] data struct retro_midi_interface *. * Pointer to the MIDI interface. * May be \c NULL. * @return \c true if the environment call is available,