From 8b81cdd2a602d63b6b7f595383cedecf54046650 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Sat, 7 Jul 2007 20:31:23 +0000 Subject: (svn r10471) -Codechange: implement driver probing priority so that 'preferred' drivers are loaded first --- src/music/os2_m.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/music/os2_m.h') 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 { 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(); } -- cgit v1.2.3-70-g09d2