Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MT-32 Emulation Device Not Available #27

Closed
acidbee opened this issue Apr 22, 2024 · 1 comment · May be fixed by #28
Closed

MT-32 Emulation Device Not Available #27

acidbee opened this issue Apr 22, 2024 · 1 comment · May be fixed by #28

Comments

@acidbee
Copy link

acidbee commented Apr 22, 2024

I've been trying to use the mt32emu device, but it isn't available. Looking at the commit history, it looks like it got patched out when the DOSBox r4250 was merged, but I can't tell if that was intentional.

I have started a branch (with the intention of doing a pull request) to try and re-enable the device adding the mt32 entry back in dosbox.cpp and the include block back into midi.h.

#define DOSBOX_MIDI_H
#include "midi_mt32.cpp"
static MidiHandler_mt32 &Midi_mt32 = MidiHandler_mt32::GetInstance();
#undef DOSBOX_MIDI_H

While this does seem to enable the device, it does seem to cause the app to hang and the fail to finish initializing (i.e. you never get to the prompt). My Objective C/Swift is... lacking.

@acidbee
Copy link
Author

acidbee commented Apr 22, 2024

And, no sooner do I create an issue, I think I have it figured out. I will try to get a pull request put together.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant