shithub: dumb

Download patch

ref: 4a268f95b7d2a116e3ea53d297c1d5a29f46bf07
parent: 07f761e918e8a621f64242dd1a631ceba03cc920
author: Chris Moeller <kode54@gmail.com>
date: Wed May 25 14:42:29 EDT 2011

- Added missing song restart position initialization to AM, AMFF, and DSM readers
- Version is now 0.9.9.40

git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C682

--- a/dumb/src/it/readam.c
+++ b/dumb/src/it/readam.c
@@ -330,6 +330,7 @@
 
 	sigdata->n_instruments = 0;
 	sigdata->n_orders = 0;
+	sigdata->restart_position = 0;
 
 	memset(sigdata->channel_volume, 64, DUMB_IT_N_CHANNELS);
 
@@ -552,6 +553,7 @@
 
 	sigdata->n_instruments = 0;
 	sigdata->n_orders = 0;
+	sigdata->restart_position = 0;
 
 	memset(sigdata->channel_volume, 64, DUMB_IT_N_CHANNELS);
 
--- a/dumb/src/it/readdsmf.c
+++ b/dumb/src/it/readdsmf.c
@@ -263,6 +263,7 @@
 
 	sigdata->n_instruments = 0;
 	sigdata->n_orders = 0;
+	sigdata->restart_position = 0;
 
 	memset(sigdata->channel_volume, 64, DUMB_IT_N_CHANNELS);
 
--- a/dumb/vc6/dumb/dumb.vcxproj.filters
+++ b/dumb/vc6/dumb/dumb.vcxproj.filters
@@ -259,10 +259,10 @@
       <Filter>src\it\readers</Filter>
     </ClCompile>
     <ClCompile Include="..\..\src\it\loadokt.c">
-      <Filter>src\it\readers</Filter>
+      <Filter>src\it\loaders</Filter>
     </ClCompile>
     <ClCompile Include="..\..\src\it\loadokt2.c">
-      <Filter>src\it\readers</Filter>
+      <Filter>src\it\loaders</Filter>
     </ClCompile>
   </ItemGroup>
   <ItemGroup>