mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 08:35:47 -04:00
OSD: Add option to show display resolution
This commit is contained in:
@ -134,6 +134,12 @@ void GPU_HW::UpdateResolutionScale()
|
||||
UpdateSettings();
|
||||
}
|
||||
|
||||
std::tuple<u32, u32> GPU_HW::GetEffectiveDisplayResolution()
|
||||
{
|
||||
return std::make_tuple(m_crtc_state.display_vram_width * m_resolution_scale,
|
||||
m_resolution_scale * m_crtc_state.display_vram_height);
|
||||
}
|
||||
|
||||
void GPU_HW::PrintSettingsToLog()
|
||||
{
|
||||
Log_InfoPrintf("Resolution Scale: %u (%ux%u), maximum %u", m_resolution_scale, VRAM_WIDTH * m_resolution_scale,
|
||||
|
Reference in New Issue
Block a user