summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-10-25 21:47:32 +0000
committersmatz <smatz@openttd.org>2009-10-25 21:47:32 +0000
commitd63e729cf1619535b1d8829090000a132ebc707a (patch)
tree77b9c5c7eb05a8c644f653c84251fed48b95a4f8 /src
parent4d2e1521f90d4ee6d5f7c8c99e04891a27add392 (diff)
downloadopenttd-d63e729cf1619535b1d8829090000a132ebc707a.tar.xz
(svn r17875) -Change [FS#3272]: prefer extmidi over allegro midi and allegro over null driver
Diffstat (limited to 'src')
-rw-r--r--src/music/allegro_m.h2
-rw-r--r--src/music/extmidi.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/music/allegro_m.h b/src/music/allegro_m.h
index bc4d665db..70d71733b 100644
--- a/src/music/allegro_m.h
+++ b/src/music/allegro_m.h
@@ -32,7 +32,7 @@ public:
class FMusicDriver_Allegro: public MusicDriverFactory<FMusicDriver_Allegro> {
public:
- static const int priority = 1;
+ static const int priority = 2;
/* virtual */ const char *GetName() { return "allegro"; }
/* virtual */ const char *GetDescription() { return "Allegro MIDI Driver"; }
/* virtual */ Driver *CreateInstance() { return new MusicDriver_Allegro(); }
diff --git a/src/music/extmidi.h b/src/music/extmidi.h
index 260dbdeb8..1638c78f5 100644
--- a/src/music/extmidi.h
+++ b/src/music/extmidi.h
@@ -40,7 +40,7 @@ public:
class FMusicDriver_ExtMidi: public MusicDriverFactory<FMusicDriver_ExtMidi> {
public:
- static const int priority = 1;
+ static const int priority = 3;
/* virtual */ const char *GetName() { return "extmidi"; }
/* virtual */ const char *GetDescription() { return "External MIDI Driver"; }
/* virtual */ Driver *CreateInstance() { return new MusicDriver_ExtMidi(); }