use RetriedRead

This commit is contained in:
Glenn Maynard
2006-12-22 06:14:20 +00:00
parent a844c8b1c9
commit 3a1d1e129f
2 changed files with 8 additions and 29 deletions
+1 -1
View File
@@ -370,7 +370,7 @@ int RageSoundReader_Chain::Read( char *pBuffer, int iFrames )
int iFramesRead = 0;
while( iFramesRead < iFrames )
{
int iGotFrames = pSound->Read( (char *) Buffer, iFrames - iFramesRead );
int iGotFrames = pSound->RetriedRead( (char *) Buffer, iFrames - iFramesRead );
if( iGotFrames < 0 )
{
iFramesRead = iGotFrames;