diff --git a/stepmania/src/RageSoundReader_Preload.cpp b/stepmania/src/RageSoundReader_Preload.cpp index a6a0adf116..22cfcbe4f4 100644 --- a/stepmania/src/RageSoundReader_Preload.cpp +++ b/stepmania/src/RageSoundReader_Preload.cpp @@ -65,11 +65,7 @@ bool RageSoundReader_Preload::Open( RageSoundReader *pSource ) int iCnt = pSource->Read( buffer, sizeof(buffer) / iBytesPerFrame ); if( iCnt < 0 ) - { - /* XXX untested */ - SetError(pSource->GetError()); return false; - } if( iCnt == END_OF_FILE ) break; diff --git a/stepmania/src/RageSoundReader_Preload.h b/stepmania/src/RageSoundReader_Preload.h index 7be26480b8..4e7993a818 100644 --- a/stepmania/src/RageSoundReader_Preload.h +++ b/stepmania/src/RageSoundReader_Preload.h @@ -22,6 +22,7 @@ public: bool IsStreamingFromDisk() const { return false; } int GetNextSourceFrame() const; float GetStreamToSourceRatio() const { return m_fRate; } + RString GetError() const { return ""; } /* Return the total number of copies of this sound. (If 1 is returned, * this is the last copy.) */