diff Plugins/Input/console/Audacious_Driver.cpp @ 1252:ece68ef26b94 trunk

[svn] - we don't really have to unwire track 0 this way, as 0 will be selected by default if no subsong URI is given
author nenolod
date Thu, 15 Jun 2006 05:17:49 -0700
parents 7c765d74d643
children 61d78065b630
line wrap: on
line diff
--- a/Plugins/Input/console/Audacious_Driver.cpp	Thu Jun 15 05:07:23 2006 -0700
+++ b/Plugins/Input/console/Audacious_Driver.cpp	Thu Jun 15 05:17:49 2006 -0700
@@ -768,9 +768,6 @@
 			return ret;
 		}
 
-		// do subsong stuff here
-		ret = FALSE;			// dewire track 0 from this stuff
-
 		switch ( type )
 		{
 			case type_nsf: load_file( tag, in, 0, NULL, (Nsf_Emu*) 0 ); break;
@@ -785,7 +782,7 @@
 		if (emu == NULL)
 			return FALSE;
 
-		for (int i = 0; i < emu->track_count(); i++)
+		for (int i = 1; i < emu->track_count(); i++)
 		{
 			gchar _buf[65535];
 			g_snprintf(_buf, 65535, "%s?%d", path2, i);