Fixed the configuration file section the MIDI input device is obtained from.

This commit is contained in:
OBattler
2022-01-05 19:28:39 +01:00
parent c982f0ac89
commit 499a74121e

View File

@@ -166,7 +166,7 @@ rtmidi_input_init(const device_t *info)
return nullptr;
}
midi_in_id = config_get_int((char*)SYSTEM_MIDI_NAME, (char*)"midi_input", 0);
midi_in_id = config_get_int((char*)MIDI_INPUT_NAME, (char*)"midi_input", 0);
try {
midiin->openPort(midi_in_id);