This commit is contained in:
Glenn Maynard
2004-05-17 02:38:01 +00:00
parent ec1b8430bc
commit a33e65a552
8 changed files with 14 additions and 18 deletions
+2 -1
View File
@@ -18,6 +18,7 @@
#include "IniFile.h"
#include "NoteData.h"
#include "RageSoundReader_FileReader.h"
#include "RageSurface_Load.h"
#include "RageException.h"
#include "SongManager.h"
#include "SongCacheIndex.h"
@@ -683,7 +684,7 @@ void Song::TidyUpData()
continue; // skip
CString sPath = m_sSongDir + arrayImages[i];
SDL_Surface *img = SDL_LoadImage( sPath );
SDL_Surface *img = RageSurface::LoadFile( sPath );
if( !img )
{
LOG->Trace("Couldn't load '%s': %s", sPath.c_str(), SDL_GetError());