diff --git a/programs/media/ac97snd/ac97snd/ac97snd.vcproj b/programs/media/ac97snd/ac97snd/ac97snd.vcproj
index 533b82e76c..c3f6d72d15 100644
--- a/programs/media/ac97snd/ac97snd/ac97snd.vcproj
+++ b/programs/media/ac97snd/ac97snd/ac97snd.vcproj
@@ -227,16 +227,24 @@
>
+
+
+
buffer,rd->stream,rd->strremain);
rd->stream = rd->buffer;
+ bytes= 0;
retval=read_file (rd->hFile,rd->buffer+rd->strremain,rd->filepos,
0x10000-rd->strremain,&bytes);
if( (retval==0)||(retval==6))
@@ -106,7 +107,7 @@ static int fill_reader(struct reader *rd)
rd->strpos = 0;
return bytes;
};
- return 0;
+ return bytes;
};
int __stdcall set_reader(struct reader *rd, unsigned int filepos)