maybe fix case issues
This commit is contained in:
@@ -168,10 +168,10 @@ bool RageSound::Load(CString sSoundFilePath, int precache)
|
|||||||
SetStopMode( M_STOP );
|
SetStopMode( M_STOP );
|
||||||
|
|
||||||
CString error;
|
CString error;
|
||||||
Sample = SoundReader_FileReader::OpenFile( sSoundFilePath, error );
|
Sample = SoundReader_FileReader::OpenFile( m_sFilePath, error );
|
||||||
if( Sample == NULL )
|
if( Sample == NULL )
|
||||||
RageException::Throw( "RageSoundManager::RageSoundManager: error opening sound '%s': '%s'",
|
RageException::Throw( "RageSoundManager::RageSoundManager: error opening sound '%s': '%s'",
|
||||||
sSoundFilePath.c_str(), error.c_str());
|
m_sFilePath.c_str(), error.c_str());
|
||||||
|
|
||||||
if(SOUNDMAN->GetDriverSampleRate() != -1 &&
|
if(SOUNDMAN->GetDriverSampleRate() != -1 &&
|
||||||
Sample->GetSampleRate() != SOUNDMAN->GetDriverSampleRate())
|
Sample->GetSampleRate() != SOUNDMAN->GetDriverSampleRate())
|
||||||
|
|||||||
Reference in New Issue
Block a user