mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
Added logging of the display refresh rate on startup.
This commit is contained in:
parent
a233b96c2a
commit
d85c966e49
|
@ -226,6 +226,8 @@ namespace Renderer
|
||||||
<< std::to_string(displayMode.h) << " (physical resolution "
|
<< std::to_string(displayMode.h) << " (physical resolution "
|
||||||
<< std::to_string(displayMode.w * scaleFactor) << "x"
|
<< std::to_string(displayMode.w * scaleFactor) << "x"
|
||||||
<< std::to_string(displayMode.h * scaleFactor) << ")";
|
<< std::to_string(displayMode.h * scaleFactor) << ")";
|
||||||
|
LOG(LogInfo) << "Display refresh rate: " << std::to_string(displayMode.refresh_rate)
|
||||||
|
<< " Hz";
|
||||||
LOG(LogInfo) << "EmulationStation resolution: " << std::to_string(windowWidth) << "x"
|
LOG(LogInfo) << "EmulationStation resolution: " << std::to_string(windowWidth) << "x"
|
||||||
<< std::to_string(windowHeight) << " (physical resolution "
|
<< std::to_string(windowHeight) << " (physical resolution "
|
||||||
<< std::to_string(windowWidth * scaleFactor) << "x"
|
<< std::to_string(windowWidth * scaleFactor) << "x"
|
||||||
|
@ -238,6 +240,8 @@ namespace Renderer
|
||||||
#else
|
#else
|
||||||
LOG(LogInfo) << "Display resolution: " << std::to_string(displayMode.w) << "x"
|
LOG(LogInfo) << "Display resolution: " << std::to_string(displayMode.w) << "x"
|
||||||
<< std::to_string(displayMode.h);
|
<< std::to_string(displayMode.h);
|
||||||
|
LOG(LogInfo) << "Display refresh rate: " << std::to_string(displayMode.refresh_rate)
|
||||||
|
<< " Hz";
|
||||||
LOG(LogInfo) << "EmulationStation resolution: " << std::to_string(windowWidth) << "x"
|
LOG(LogInfo) << "EmulationStation resolution: " << std::to_string(windowWidth) << "x"
|
||||||
<< std::to_string(windowHeight);
|
<< std::to_string(windowHeight);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue