From bf1e47884181b0dea63a5f095b04b8f27f0f26df Mon Sep 17 00:00:00 2001 From: sergm Date: Sun, 11 Jan 2015 21:37:58 +0200 Subject: [PATCH] - DOSBox SVN patch refreshed in order to apply cleanly (for the current revision r3892) --- DOSBox-mt32-patch/README | 2 +- ...t32-patch.diff => dosbox-SVN-r3892-mt32-patch.diff} | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) rename DOSBox-mt32-patch/{dosbox-SVN-r3873-mt32-patch.diff => dosbox-SVN-r3892-mt32-patch.diff} (98%) diff --git a/DOSBox-mt32-patch/README b/DOSBox-mt32-patch/README index d04365a0e..740a728c4 100644 --- a/DOSBox-mt32-patch/README +++ b/DOSBox-mt32-patch/README @@ -2,5 +2,5 @@ Patches for DOSBox to add mt32emu MIDI device dosbox-0.74-mt32-patch.diff - diff file to be applied to official DOSBox release v.0.74 source distribution. -dosbox-SVN-r3873-mt32-patch.diff - diff file to be applied to official DOSBox sources SVN r3873 (and up, hopefully). +dosbox-SVN-r3892-mt32-patch.diff - diff file to be applied to official DOSBox sources SVN r3892 (and up, hopefully). It uses a bit different and clear approach introduced since SVN r3836. diff --git a/DOSBox-mt32-patch/dosbox-SVN-r3873-mt32-patch.diff b/DOSBox-mt32-patch/dosbox-SVN-r3892-mt32-patch.diff similarity index 98% rename from DOSBox-mt32-patch/dosbox-SVN-r3873-mt32-patch.diff rename to DOSBox-mt32-patch/dosbox-SVN-r3892-mt32-patch.diff index 400624426..f326212a8 100644 --- a/DOSBox-mt32-patch/dosbox-SVN-r3873-mt32-patch.diff +++ b/DOSBox-mt32-patch/dosbox-SVN-r3892-mt32-patch.diff @@ -1,4 +1,4 @@ -commit fe0a2c983887945d462ff34214d45cfefce51d17 +commit feddff63cd05b91ffea6181efbae173935c3aff2 Author: sergm Date: Mon Dec 8 10:31:44 2014 +0200 @@ -15,10 +15,10 @@ index 184469e..286638d 100644 - +LIBS += -lmt32emu diff --git a/src/dosbox.cpp b/src/dosbox.cpp -index 6aad419..9fec99a 100644 +index 83e6f43..d049aee 100644 --- a/src/dosbox.cpp +++ b/src/dosbox.cpp -@@ -483,7 +483,7 @@ void DOSBOX_Init(void) { +@@ -491,7 +491,7 @@ void DOSBOX_Init(void) { const char* mputypes[] = { "intelligent", "uart", "none",0}; // FIXME: add some way to offer the actually available choices. @@ -27,7 +27,7 @@ index 6aad419..9fec99a 100644 Pstring = secprop->Add_string("mpu401",Property::Changeable::WhenIdle,"intelligent"); Pstring->Set_values(mputypes); Pstring->Set_help("Type of MPU-401 to emulate."); -@@ -499,6 +499,8 @@ void DOSBOX_Init(void) { +@@ -507,6 +507,8 @@ void DOSBOX_Init(void) { " In that case, add 'delaysysex', for example: midiconfig=2 delaysysex\n" " See the README/Manual for more details."); @@ -48,7 +48,7 @@ index 3fed5e6..ca36a07 100644 + midi_coremidi.h midi_mt32.h midi_mt32.cpp sdl_gui.cpp dosbox_splash.h diff --git a/src/gui/midi.cpp b/src/gui/midi.cpp -index ce4647f..3d289b8 100644 +index e7cc6d4..d908446 100644 --- a/src/gui/midi.cpp +++ b/src/gui/midi.cpp @@ -91,6 +91,9 @@ MidiHandler Midi_none;