fix DWIPath loading for songs that have a normal layout;

some DWI's have relative paths that don't begin with ".\
 Song.cpp
This commit is contained in:
Glenn Maynard
2002-09-15 02:58:33 +00:00
parent 08926e30af
commit ba7efdb319
11 changed files with 125 additions and 54 deletions
+13 -4
View File
@@ -17,12 +17,20 @@
#include "RageException.h"
#include "bass/bass.h"
#pragma comment(lib, "bass/bass.lib")
RageSound* SOUND = NULL;
#if 0
RageSound::RageSound( HWND hWnd ) { }
RageSound::~RageSound() { }
void RageSound::PlayOnceStreamed( CString sPath ) { }
void RageSound::PlayOnceStreamedFromDir( CString sDir ) { }
#else
#pragma comment(lib, "bass/bass.lib")
#include "bass/bass.h"
RageSound::RageSound( HWND hWnd )
{
@@ -113,3 +121,4 @@ void RageSound::PlayOnceStreamedFromDir( CString sDir )
PlayOnceStreamed( sDir + arraySoundFiles[index] );
}
}
#endif