Oops, forgot to commit subdirs ...
This commit is contained in:
@@ -48,7 +48,7 @@ RageSoundDriver *MakeRageSoundDriver(CString drivers)
|
|||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
Driver = DriversToTry[i];
|
Driver = DriversToTry[i];
|
||||||
LOG->Trace("Initializing driver: %s", DriversToTry[i].GetString());
|
LOG->Trace("Initializing driver: %s", DriversToTry[i].c_str());
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
if(!DriversToTry[i].CompareNoCase("DirectSound")) ret = new RageSound_DSound;
|
if(!DriversToTry[i].CompareNoCase("DirectSound")) ret = new RageSound_DSound;
|
||||||
@@ -60,15 +60,15 @@ RageSoundDriver *MakeRageSoundDriver(CString drivers)
|
|||||||
#endif
|
#endif
|
||||||
if(!DriversToTry[i].CompareNoCase("Null")) ret = new RageSound_Null;
|
if(!DriversToTry[i].CompareNoCase("Null")) ret = new RageSound_Null;
|
||||||
if( !ret )
|
if( !ret )
|
||||||
LOG->Warn("Unknown sound driver name: %s", DriversToTry[i].GetString());
|
LOG->Warn("Unknown sound driver name: %s", DriversToTry[i].c_str());
|
||||||
}
|
}
|
||||||
catch(const RageException &e) {
|
catch(const RageException &e) {
|
||||||
LOG->Info("Couldn't load driver %s: %s", DriversToTry[i].GetString(), e.what());
|
LOG->Info("Couldn't load driver %s: %s", DriversToTry[i].c_str(), e.what());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(ret)
|
if(ret)
|
||||||
LOG->Info("Sound driver: %s", Driver.GetString());
|
LOG->Info("Sound driver: %s", Driver.c_str());
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,11 +18,11 @@ struct VideoDriverInfo
|
|||||||
void LogVideoDriverInfo( VideoDriverInfo info )
|
void LogVideoDriverInfo( VideoDriverInfo info )
|
||||||
{
|
{
|
||||||
LOG->Info("Video Driver Information:");
|
LOG->Info("Video Driver Information:");
|
||||||
LOG->Info("%-15s:\t%s", "Provider", info.sProvider.GetString());
|
LOG->Info("%-15s:\t%s", "Provider", info.sProvider.c_str());
|
||||||
LOG->Info("%-15s:\t%s", "Description", info.sDescription.GetString());
|
LOG->Info("%-15s:\t%s", "Description", info.sDescription.c_str());
|
||||||
LOG->Info("%-15s:\t%s", "Version", info.sVersion.GetString());
|
LOG->Info("%-15s:\t%s", "Version", info.sVersion.c_str());
|
||||||
LOG->Info("%-15s:\t%s", "Date", info.sDate.GetString());
|
LOG->Info("%-15s:\t%s", "Date", info.sDate.c_str());
|
||||||
LOG->Info("%-15s:\t%s", "DeviceID", info.sDeviceID.GetString());
|
LOG->Info("%-15s:\t%s", "DeviceID", info.sDeviceID.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
CString GetRegValue( HKEY hKey, CString sName )
|
CString GetRegValue( HKEY hKey, CString sName )
|
||||||
@@ -119,7 +119,7 @@ static void GetDisplayDriverDebugInfo()
|
|||||||
if( sPrimaryDeviceName == "" )
|
if( sPrimaryDeviceName == "" )
|
||||||
LOG->Info( "Primary display driver could not be determined." );
|
LOG->Info( "Primary display driver could not be determined." );
|
||||||
else
|
else
|
||||||
LOG->Info( "Primary display driver: %s", sPrimaryDeviceName.GetString() );
|
LOG->Info( "Primary display driver: %s", sPrimaryDeviceName.c_str() );
|
||||||
|
|
||||||
OSVERSIONINFO version;
|
OSVERSIONINFO version;
|
||||||
version.dwOSVersionInfoSize=sizeof(version);
|
version.dwOSVersionInfoSize=sizeof(version);
|
||||||
@@ -213,7 +213,7 @@ void SearchForDebugInfo()
|
|||||||
} else Ver += "???";
|
} else Ver += "???";
|
||||||
|
|
||||||
Ver += ssprintf(") build %i [%s]", ovi.dwBuildNumber & 0xffff, ovi.szCSDVersion);
|
Ver += ssprintf(") build %i [%s]", ovi.dwBuildNumber & 0xffff, ovi.szCSDVersion);
|
||||||
LOG->Info("%s", Ver.GetString());
|
LOG->Info("%s", Ver.c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user