diff src/sid/xs_sidplay1.cc @ 463:1e5cb7a00cb0 trunk

[svn] - added is_our_file_from_vfs function to sid, for both libsidplay v1 and v2
author giacomo
date Fri, 19 Jan 2007 10:55:44 -0800
parents c488d191b528
children 6c3c7b841382
line wrap: on
line diff
--- a/src/sid/xs_sidplay1.cc	Fri Jan 19 09:56:06 2007 -0800
+++ b/src/sid/xs_sidplay1.cc	Fri Jan 19 10:55:44 2007 -0800
@@ -64,7 +64,6 @@
 		return TRUE;
 	else
 		return FALSE;
-  return FALSE;
 }
 
 
@@ -124,6 +123,14 @@
 }
 
 
+/* Check if we can play the given file (VFS)
+ */
+gboolean xs_sidplay1_isourfile_vfs(gchar * pcFilename, VFSFile * fp)
+{
+	return xs_sidplay1_detect_by_content( fp );
+}
+
+
 /* Initialize SIDPlay1
  */
 gboolean xs_sidplay1_init(t_xs_status * myStatus)