mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
make MIDIOUTCAPS format-agnostic (#1471)
Signed-off-by: Ramen2X <contact@ramen2x.com>
This commit is contained in:
@@ -216,8 +216,8 @@ MxResult MxMusicManager::InitializeMIDI(MxU8* p_data, MxS32 p_loopCount)
|
||||
MxU32 device = 0;
|
||||
|
||||
for (; device < total; device++) {
|
||||
MIDIOUTCAPSA caps;
|
||||
midiOutGetDevCaps(device, &caps, sizeof(MIDIOUTCAPSA));
|
||||
MIDIOUTCAPS caps;
|
||||
midiOutGetDevCaps(device, &caps, sizeof(MIDIOUTCAPS));
|
||||
if (caps.wTechnology == MOD_FMSYNTH) {
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user