From 989ed101bc9ff659736354f42ac22dfd23809e92 Mon Sep 17 00:00:00 2001 From: darkvater Date: Sun, 12 Sep 2004 22:03:14 +0000 Subject: (svn r224) -Fix: Music now finally works on WinXP. DirectMusic is now default for an OS >= WinNT4 (WinNT4, Win2k, WinXP), and MIDI driver for lower OS's (Win95, Win98, WinME, etc). --- unix.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'unix.c') diff --git a/unix.c b/unix.c index 932a4a56c..06aa7b9da 100644 --- a/unix.c +++ b/unix.c @@ -353,6 +353,13 @@ const DriverDesc _music_driver_descs[] = { { NULL, NULL, NULL, 0} }; +/* GetOSVersion returns the minimal required version of OS to be able to use that driver. + Not needed for *nix. */ +byte GetOSVersion() +{ + return 1; // any arbitrary number bigger then 0 +} + bool FileExists(const char *filename) { return access(filename, 0) == 0; -- cgit v1.2.3-54-g00ecf