mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05: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.w * scaleFactor) << "x"
|
||||
<< 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"
|
||||
<< std::to_string(windowHeight) << " (physical resolution "
|
||||
<< std::to_string(windowWidth * scaleFactor) << "x"
|
||||
|
@ -238,6 +240,8 @@ namespace Renderer
|
|||
#else
|
||||
LOG(LogInfo) << "Display resolution: " << std::to_string(displayMode.w) << "x"
|
||||
<< 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"
|
||||
<< std::to_string(windowHeight);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue