diff src/modplug/plugin.cxx @ 704:94b22cc75eb8 trunk

[svn] - VFS probing support patch by Christian Birchinger (joker).
author nenolod
date Fri, 23 Feb 2007 20:30:42 -0800
parents 914c96de3244
children b1128efde471
line wrap: on
line diff
--- a/src/modplug/plugin.cxx	Fri Feb 23 20:23:34 2007 -0800
+++ b/src/modplug/plugin.cxx	Fri Feb 23 20:30:42 2007 -0800
@@ -16,9 +16,9 @@
 	gModplugXMMS.Init();
 }
 
-static int CanPlayFile(char* aFilename)
+static int CanPlayFileFromVFS(char* aFilename, VFSFile *VFSFile)
 {
-	if(gModplugXMMS.CanPlayFile(aFilename))
+	if(gModplugXMMS.CanPlayFileFromVFS(aFilename, VFSFile))
 		return 1;
 	return 0;
 }
@@ -88,7 +88,7 @@
 	Init,
 	ShowAboutBox,
 	ShowConfigureBox,
-	CanPlayFile,
+	NULL,
 	NULL,
 	PlayFile,
 	Stop,
@@ -109,7 +109,7 @@
 	NULL,   // tuple
 	NULL,
 	NULL,
-	NULL,	// vfs
+	CanPlayFileFromVFS,	// vfs
 	fmts,
 };