summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-09 18:29:13 +0000
committerrubidium <rubidium@openttd.org>2010-08-09 18:29:13 +0000
commit21e4e7ce0699408fd2d4f1e1d1c97ccfd0fa74bc (patch)
treed6944d87221e3c204b21b5d4c060442b084087e3
parent41998d2c8ef235a67bb6e6833c124b0aacfb9b0b (diff)
downloadopenttd-21e4e7ce0699408fd2d4f1e1d1c97ccfd0fa74bc.tar.xz
(svn r20427) -Revert (r20105): even though MCI has less problems with wrongly pitched songs than dmusic, it crashed instead.
-rw-r--r--src/music/dmusic.h2
-rw-r--r--src/music/win32_m.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/music/dmusic.h b/src/music/dmusic.h
index ed2dcabf1..74368de23 100644
--- a/src/music/dmusic.h
+++ b/src/music/dmusic.h
@@ -32,7 +32,7 @@ public:
class FMusicDriver_DMusic: public MusicDriverFactory<FMusicDriver_DMusic> {
public:
- static const int priority = 5;
+ static const int priority = 10;
/* virtual */ const char *GetName() { return "dmusic"; }
/* virtual */ const char *GetDescription() { return "DirectMusic MIDI Driver"; }
/* virtual */ Driver *CreateInstance() { return new MusicDriver_DMusic(); }
diff --git a/src/music/win32_m.h b/src/music/win32_m.h
index 2e991bd9f..d596d3a9f 100644
--- a/src/music/win32_m.h
+++ b/src/music/win32_m.h
@@ -32,7 +32,7 @@ public:
class FMusicDriver_Win32: public MusicDriverFactory<FMusicDriver_Win32> {
public:
- static const int priority = 10;
+ static const int priority = 5;
/* virtual */ const char *GetName() { return "win32"; }
/* virtual */ const char *GetDescription() { return "Win32 Music Driver"; }
/* virtual */ Driver *CreateInstance() { return new MusicDriver_Win32(); }