copy error: break, not continue
This commit is contained in:
@@ -368,7 +368,7 @@ int RageSoundReader_Chain::Read( char *pBuffer, int iFrames )
|
|||||||
if( iGotFrames < 0 )
|
if( iGotFrames < 0 )
|
||||||
{
|
{
|
||||||
iFramesRead = iGotFrames;
|
iFramesRead = iGotFrames;
|
||||||
continue;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
mix.SetWriteOffset( iFramesRead * pSound->GetNumChannels() );
|
mix.SetWriteOffset( iFramesRead * pSound->GetNumChannels() );
|
||||||
|
|||||||
Reference in New Issue
Block a user