mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-09-23 03:55:44 -04:00
make MIDIOUTCAPS format-agnostic (#1471)
Signed-off-by: Ramen2X <contact@ramen2x.com>
This commit is contained in:
parent
2b3e7176d3
commit
38e3ecb1c6
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user