VOGONS


First post, by Serious Callers Only

User metadata
Rank Member
Rank
Member

It has two parts (hunks) - the failing one is
in midi.cpp

paulo@AIVAS:~/Desktop/dosbox_svn/trunk$ patch -p1 < dosbox-mt32.diff patching file configure.in Hunk #1 succeeded at 451 with f […]
Show full quote

paulo@AIVAS:~/Desktop/dosbox_svn/trunk$ patch -p1 < dosbox-mt32.diff
patching file configure.in
Hunk #1 succeeded at 451 with fuzz 2 (offset 212 lines).
patching file src/gui/midi.cpp
Hunk #1 succeeded at 89 with fuzz 1 (offset 9 lines).
Hunk #2 FAILED at 263.
1 out of 2 hunks FAILED -- saving rejects to file src/gui/midi.cpp.rej
patching file src/gui/midi_mt32.h

btw wd, you didn't need to close the thread. Me and my "shitposts" were gone by then. Couldn't resist commenting on the needless hostility in this forum.

Reply 1 of 5, by Serious Callers Only

User metadata
Rank Member
Rank
Member

Can't tell who is supposed to instantiate the Midihandler objects. Is it some kind of reflection on the configuration class? Then do I need to put the Midihandler subclass on its own file? Where, in the midi dir?

Last edited by Serious Callers Only on 2010-08-27, 11:30. Edited 1 time in total.

Reply 2 of 5, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Me and my "shitposts" were gone by then.

I'm counting 2 additional posts (unrelated to the thread topic) after asking you to stop that.

Reply 3 of 5, by Serious Callers Only

User metadata
Rank Member
Rank
Member

I didn't read that at all/was responding to dominus.

Reply 4 of 5, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

That's what i mean. If you post in a thread READ IT.

Reply 5 of 5, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

as on how to fix the mt32 patch, look at the megabuild (I think that has it) or Ykhwong's build (if a source or patch to that is supplied). The original patch is sooooo old ypou need a better way to compare it.

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper