From c71f0d4dfe52a523b37416717299700e203f818d Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Mon, 6 Nov 2017 22:34:22 +0300 Subject: Repair instrument testing mode in ADLMIDI-2 utility --- src/adlmidi_private.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/adlmidi_private.hpp') diff --git a/src/adlmidi_private.hpp b/src/adlmidi_private.hpp index 0997556..650291a 100644 --- a/src/adlmidi_private.hpp +++ b/src/adlmidi_private.hpp @@ -236,6 +236,7 @@ struct MIDIEventHooks void *onDebugMessage_userData; }; + class MIDIplay { public: @@ -424,7 +425,6 @@ public: // Index to physical adlib data structure, adlins[] char ____padding2[3]; uint32_t insmeta; - char ____padding3[4]; struct Phys { //! ins, inde to adl[] @@ -442,7 +442,8 @@ public: } }; typedef std::map PhysMap; - // List of adlib channels it is currently occupying. + char ____padding3[4]; + // List of OPL3 channels it is currently occupying. std::map phys; }; typedef std::map activenotemap_t; @@ -462,7 +463,7 @@ public: activenotes() { } }; - // Additional information about AdLib channels + // Additional information about OPL3 channels struct AdlChannel { // For collisions @@ -483,9 +484,8 @@ public: struct LocationData { bool sustained; - char ____padding[1]; + char ____padding[7]; MIDIchannel::NoteInfo::Phys ins; // a copy of that in phys[] - char ____padding2[4]; int64_t kon_time_until_neglible; int64_t vibdelay; }; -- cgit v1.2.3