various arch modifications, mainly for file download support

This commit is contained in:
AJ Kelly
2010-12-15 19:15:53 -06:00
parent 6d70de3199
commit a4fe858757
15 changed files with 258 additions and 116 deletions
+3 -4
View File
@@ -11,7 +11,7 @@ LoadingWindow *LoadingWindow::Create()
#if defined(UNIX) && !defined(HAVE_GTK)
return new LoadingWindow_Null;
#endif
/* Don't load NULL by default. */
// Don't load NULL by default.
const RString drivers = "xbox,win32,macosx,gtk";
vector<RString> DriversToTry;
split( drivers, ",", DriversToTry, true );
@@ -39,7 +39,6 @@ LoadingWindow *LoadingWindow::Create()
#endif
if( !DriversToTry[i].CompareNoCase("Null") ) ret = new LoadingWindow_Null;
if( ret == NULL )
continue;
@@ -50,10 +49,10 @@ LoadingWindow *LoadingWindow::Create()
SAFE_DELETE( ret );
}
}
if( ret )
LOG->Info( "Loading window: %s", Driver.c_str() );
return ret;
}