From 6233b2692f90d8d35ba5bbebb097a1d531984f0a Mon Sep 17 00:00:00 2001 From: Jeffy Chen Date: Tue, 18 Sep 2018 20:21:30 +0800 Subject: [PATCH] libretro.h: Fix compile error Signed-off-by: Jeffy Chen --- libretro/libretro.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/libretro/libretro.h b/libretro/libretro.h index 38b58ea..826283b 100644 --- a/libretro/libretro.h +++ b/libretro/libretro.h @@ -1210,6 +1210,15 @@ typedef bool (RETRO_CALLCONV *retro_midi_write_t)(uint8_t byte, uint32_t delta_t * Returns true if successful, false otherwise. */ typedef bool (RETRO_CALLCONV *retro_midi_flush_t)(void); +struct retro_midi_interface +{ + retro_midi_input_enabled_t input_enabled; + retro_midi_output_enabled_t output_enabled; + retro_midi_read_t read; + retro_midi_write_t write; + retro_midi_flush_t flush; +}; + #define RETRO_ENVIRONMENT_GET_HW_RENDER_INTERFACE (41 | RETRO_ENVIRONMENT_EXPERIMENTAL) /* const struct retro_hw_render_interface ** -- * Returns an API specific rendering interface for accessing API specific data. -- 2.11.0