Skip to content

Commit

Permalink
libretro: Fix documentation for RETRO_GET_MIDI_INTERFACE (libretro#16541
Browse files Browse the repository at this point in the history
)

As pointed out by @bbbradsmith in libretro/libretro-common#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 libretro/libretro-common#209
  • Loading branch information
RobLoach committed May 17, 2024
1 parent 41db4b0 commit ae84c59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libretro-common/include/libretro.h
Original file line number Diff line number Diff line change
Expand Up @@ -1763,7 +1763,7 @@ enum retro_mod
/**
* Gets an interface that the core can use for raw MIDI I/O.
*
* @param[out] data <tt>struct retro_midi_interface **</tt>.
* @param[out] data <tt>struct retro_midi_interface *</tt>.
* Pointer to the MIDI interface.
* May be \c NULL.
* @return \c true if the environment call is available,
Expand Down

0 comments on commit ae84c59

Please sign in to comment.