dotfiles/pkgs/osu-wine/patches/0002-midi-fixed-revert.patch

18 lines
508 B
Diff
Raw Normal View History

2024-05-08 02:06:54 +07:00
--- b/include/mmddk.h
+++ a/include/mmddk.h
@@ -30,6 +30,14 @@
extern "C" {
#endif
+#define MAX_MIDIINDRV (16)
+/* For now I'm making 16 the maximum number of midi devices one can
+ * have. This should be more than enough for everybody. But as a purist,
+ * I intend to make it unbounded in the future, as soon as I figure
+ * a good way to do so.
+ */
+#define MAX_MIDIOUTDRV (16)
+
/* ==================================
* Multimedia DDK compatible part
* ================================== */