summaryrefslogtreecommitdiff
path: root/src/music/os2_m.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-07-07 20:31:23 +0000
committerpeter1138 <peter1138@openttd.org>2007-07-07 20:31:23 +0000
commit8b81cdd2a602d63b6b7f595383cedecf54046650 (patch)
tree0bd6f98a4074b190b9e2d63d8410f76306430377 /src/music/os2_m.h
parent0543657b75fe3191d4232c2ebbac80f8b860617f (diff)
downloadopenttd-8b81cdd2a602d63b6b7f595383cedecf54046650.tar.xz
(svn r10471) -Codechange: implement driver probing priority so that 'preferred' drivers are loaded first
Diffstat (limited to 'src/music/os2_m.h')
-rw-r--r--src/music/os2_m.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/music/os2_m.h b/src/music/os2_m.h
index b0f4d71ce..3ba1b5de6 100644
--- a/src/music/os2_m.h
+++ b/src/music/os2_m.h
@@ -7,8 +7,6 @@
class MusicDriver_OS2: public MusicDriver {
public:
- /* virtual */ bool CanProbe() { return true; }
-
/* virtual */ const char *Start(const char * const *param);
/* virtual */ void Stop();
@@ -24,6 +22,7 @@ public:
class FMusicDriver_OS2: public MusicDriverFactory<FMusicDriver_OS2> {
public:
+ static const int priority = 10;
/* virtual */ const char *GetName() { return "os2"; }
/* virtual */ const char *GetDescription() { return "OS/2 Music Driver"; }
/* virtual */ Driver *CreateInstance() { return new MusicDriver_OS2(); }