comparison 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
comparison
equal deleted inserted replaced
1484:57ac83a14503 1485:eff9a84c54bf
778 } 778 }
779 779
780 if (emu == NULL) 780 if (emu == NULL)
781 return FALSE; 781 return FALSE;
782 782
783 for (int i = 1; i < emu->track_count(); i++) 783 for (int i = 0; i < emu->track_count(); i++)
784 { 784 {
785 gchar _buf[65535]; 785 gchar _buf[65535];
786 g_snprintf(_buf, 65535, "%s?%d", path2, i); 786 g_snprintf(_buf, 65535, "%s?%d", path2, i);
787 787
788 playlist_add_url(_buf); 788 playlist_add_url(_buf);
789 } 789 }
790
791 ret = -1;
790 792
791 unload_file(); 793 unload_file();
792 } 794 }
793 795
794 g_free(path2); 796 g_free(path2);