mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 20:15:38 +00:00
Changed log level for missing or empty game systems from Info to Debug.
Also did some small changes to the OpenGL logging.
This commit is contained in:
parent
6565355831
commit
fe0e09ec7b
|
@ -96,7 +96,7 @@ bool SystemData::populateFolder(FileData* folder)
|
||||||
{
|
{
|
||||||
const std::string& folderPath = folder->getPath();
|
const std::string& folderPath = folder->getPath();
|
||||||
if (!Utils::FileSystem::exists(folderPath)) {
|
if (!Utils::FileSystem::exists(folderPath)) {
|
||||||
LOG(LogInfo) << "Info - Folder with path \"" <<
|
LOG(LogDebug) << "SystemData::populateFolder(): Folder with path \"" <<
|
||||||
folderPath << "\" does not exist.";
|
folderPath << "\" does not exist.";
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -316,7 +316,8 @@ bool SystemData::loadConfig()
|
||||||
|
|
||||||
SystemData* newSys = new SystemData(name, fullname, envData, themeFolder);
|
SystemData* newSys = new SystemData(name, fullname, envData, themeFolder);
|
||||||
if (newSys->getRootFolder()->getChildrenByFilename().size() == 0) {
|
if (newSys->getRootFolder()->getChildrenByFilename().size() == 0) {
|
||||||
LOG(LogInfo) << "Info - System \"" << name << "\" has no games, ignoring it.";
|
LOG(LogDebug) << "SystemData::loadConfig(): System \"" << name <<
|
||||||
|
"\" has no games, ignoring it.";
|
||||||
delete newSys;
|
delete newSys;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
@ -110,9 +110,10 @@ namespace Renderer
|
||||||
std::string extensions = glGetString(GL_EXTENSIONS) ?
|
std::string extensions = glGetString(GL_EXTENSIONS) ?
|
||||||
(const char*)glGetString(GL_EXTENSIONS) : "";
|
(const char*)glGetString(GL_EXTENSIONS) : "";
|
||||||
|
|
||||||
LOG(LogInfo) << "GL vendor: " << vendor;
|
LOG(LogInfo) << "GL vendor: " << vendor;
|
||||||
LOG(LogInfo) << "GL renderer: " << renderer;
|
LOG(LogInfo) << "GL renderer: " << renderer;
|
||||||
LOG(LogInfo) << "GL version: " << version;
|
LOG(LogInfo) << "GL version: " << version;
|
||||||
|
LOG(LogInfo) << "EmulationStation renderer: OpenGL 2.1";
|
||||||
LOG(LogInfo) << "Checking available OpenGL extensions...";
|
LOG(LogInfo) << "Checking available OpenGL extensions...";
|
||||||
std::string glExts = glGetString(GL_EXTENSIONS) ?
|
std::string glExts = glGetString(GL_EXTENSIONS) ?
|
||||||
(const char*)glGetString(GL_EXTENSIONS) : "";
|
(const char*)glGetString(GL_EXTENSIONS) : "";
|
||||||
|
|
|
@ -110,9 +110,10 @@ namespace Renderer
|
||||||
std::string extensions = glGetString(GL_EXTENSIONS) ?
|
std::string extensions = glGetString(GL_EXTENSIONS) ?
|
||||||
(const char*)glGetString(GL_EXTENSIONS) : "";
|
(const char*)glGetString(GL_EXTENSIONS) : "";
|
||||||
|
|
||||||
LOG(LogInfo) << "GL vendor: " << vendor;
|
LOG(LogInfo) << "GL vendor: " << vendor;
|
||||||
LOG(LogInfo) << "GL renderer: " << renderer;
|
LOG(LogInfo) << "GL renderer: " << renderer;
|
||||||
LOG(LogInfo) << "GL version: " << version;
|
LOG(LogInfo) << "GL version: " << version;
|
||||||
|
LOG(LogInfo) << "EmulationStation renderer: OpenGL ES 1.0";
|
||||||
LOG(LogInfo) << "Checking available OpenGL extensions...";
|
LOG(LogInfo) << "Checking available OpenGL extensions...";
|
||||||
std::string glExts = glGetString(GL_EXTENSIONS) ?
|
std::string glExts = glGetString(GL_EXTENSIONS) ?
|
||||||
(const char*)glGetString(GL_EXTENSIONS) : "";
|
(const char*)glGetString(GL_EXTENSIONS) : "";
|
||||||
|
|
Loading…
Reference in a new issue