hc
2023-02-13 e440ec23c5a540cdd3f7464e8779219be6fd3d95
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From 6233b2692f90d8d35ba5bbebb097a1d531984f0a Mon Sep 17 00:00:00 2001
From: Jeffy Chen <jeffy.chen@rock-chips.com>
Date: Tue, 18 Sep 2018 20:21:30 +0800
Subject: [PATCH] libretro.h: Fix compile error
 
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
---
 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