mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-09-22 11:31:57 -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;
|
||||
|
||||
for (; device < total; device++) {
|
||||
MIDIOUTCAPSA caps;
|
||||
midiOutGetDevCaps(device, &caps, sizeof(MIDIOUTCAPSA));
|
||||
MIDIOUTCAPS caps;
|
||||
midiOutGetDevCaps(device, &caps, sizeof(MIDIOUTCAPS));
|
||||
if (caps.wTechnology == MOD_FMSYNTH) {
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user