diff Plugins/Input/console/Audacious_Driver.cpp @ 1485:eff9a84c54bf trunk

[svn] use -1 to indicate "drop the original nsf/gbs/nsfe file, but silently error" (not implemented in 1.1.x, but is backwards compatible -- also not yet implemented here. keyword YET)
author nenolod
date Thu, 03 Aug 2006 01:03:55 -0700
parents cb985fe460cd
children
line wrap: on
line diff
--- a/Plugins/Input/console/Audacious_Driver.cpp	Thu Aug 03 01:02:34 2006 -0700
+++ b/Plugins/Input/console/Audacious_Driver.cpp	Thu Aug 03 01:03:55 2006 -0700
@@ -780,7 +780,7 @@
 		if (emu == NULL)
 			return FALSE;
 
-		for (int i = 1; i < emu->track_count(); i++)
+		for (int i = 0; i < emu->track_count(); i++)
 		{
 			gchar _buf[65535];
 			g_snprintf(_buf, 65535, "%s?%d", path2, i);
@@ -788,6 +788,8 @@
 			playlist_add_url(_buf);
 		}
 
+		ret = -1;
+
 		unload_file();
 	}