unix.c
changeset 223 0e5cc5a65df6
parent 222 b88456001397
child 238 a73a3e50c7f9
equal deleted inserted replaced
222:b88456001397 223:0e5cc5a65df6
   351 #endif
   351 #endif
   352 	{   "null",	"Null Music Driver",		&_null_music_driver,		1},
   352 	{   "null",	"Null Music Driver",		&_null_music_driver,		1},
   353 	{     NULL,	NULL,										NULL,										0}
   353 	{     NULL,	NULL,										NULL,										0}
   354 };
   354 };
   355 
   355 
       
   356 /* GetOSVersion returns the minimal required version of OS to be able to use that driver.
       
   357 	 Not needed for *nix. */
       
   358 byte GetOSVersion()
       
   359 {
       
   360 	return 1; // any arbitrary number bigger then 0
       
   361 }
       
   362 
   356 bool FileExists(const char *filename)
   363 bool FileExists(const char *filename)
   357 {
   364 {
   358 	return access(filename, 0) == 0;
   365 	return access(filename, 0) == 0;
   359 }
   366 }
   360 
   367