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
@@ -10,6 +10,7 @@
#include "RageDisplay.h"
#include "RageUtil.h"
#include "RageLog.h"
#include "RageSurface_Load.h"
#include "BannerCache.h"
#include "Sprite.h"
#include "PrefsManager.h"
@@ -303,7 +304,7 @@ void BannerCache::CacheBanner( CString BannerPath )
void BannerCache::CacheBannerInternal( CString BannerPath )
{
SDL_Surface *img = SDL_LoadImage( BannerPath );
SDL_Surface *img = RageSurface::LoadFile( BannerPath );
if( img == NULL )
{
LOG->Warn( "BannerCache::CacheBanner: Couldn't load %s: %s", BannerPath.c_str(), SDL_GetError() );