mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +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;
|
MxU32 device = 0;
|
||||||
|
|
||||||
for (; device < total; device++) {
|
for (; device < total; device++) {
|
||||||
MIDIOUTCAPSA caps;
|
MIDIOUTCAPS caps;
|
||||||
midiOutGetDevCaps(device, &caps, sizeof(MIDIOUTCAPSA));
|
midiOutGetDevCaps(device, &caps, sizeof(MIDIOUTCAPS));
|
||||||
if (caps.wTechnology == MOD_FMSYNTH) {
|
if (caps.wTechnology == MOD_FMSYNTH) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user