changeset 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 57ac83a14503
children c32478314967
files ChangeLog Plugins/Input/console/Audacious_Driver.cpp
diffstat 2 files changed, 13 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Aug 03 01:02:34 2006 -0700
+++ b/ChangeLog	Thu Aug 03 01:03:55 2006 -0700
@@ -1,3 +1,13 @@
+2006-08-03 08:02:34 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [1882]
+  use -1 to indicate "drop the original cue file, but silently error"
+  (not implemented in 1.1.x, but is backwards compatible -- also not yet implemented here. keyword YET)
+  
+
+  Changes:        Modified:
+  +2 -2           trunk/Plugins/Input/cue/cuesheet.c  
+
+
 2006-08-03 07:29:55 +0000  William Pitcock <nenolod@nenolod.net>
   revision [1880]
   - implement finetune seeking properly this time :)
--- 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();
 	}