First post, by NovaCoder
Rank
Newbie
Hi,
Not sure if this is even the right place to post this but..
I'm having trouble implementing a hardware MIDI driver for DosBox, I have PlaySyssex() working but not PlayMsg()
The problem I'm having is that in other engines (OpenDune, ScummVM and Exult).....playMsg() is always passed an unsigned 32 bit number which I then have to byte swap (to big endian), for some strange reason DosBox doesn't get an unsigned 32 bit number passed to playMsg() but instead it is passed an unsigned 8 bit pointer.
How do I use this passed 8 bit pointer to get the 32 bit number (the actual MIDI data)?
Thanks