GPU/HW: Include resolution in scale change message
This commit is contained in:
parent
f5fb8186c7
commit
26aa627deb
|
@ -96,6 +96,14 @@ void GPU_HW::UpdateHWSettings(bool* framebuffer_changed, bool* shaders_changed)
|
||||||
m_scaled_dithering != g_settings.gpu_scaled_dithering ||
|
m_scaled_dithering != g_settings.gpu_scaled_dithering ||
|
||||||
m_texture_filtering != g_settings.gpu_texture_filtering || m_using_uv_limits != use_uv_limits);
|
m_texture_filtering != g_settings.gpu_texture_filtering || m_using_uv_limits != use_uv_limits);
|
||||||
|
|
||||||
|
if (m_resolution_scale != resolution_scale)
|
||||||
|
{
|
||||||
|
g_host_interface->AddFormattedOSDMessage(10.0f, "Resolution scale set to %ux (display %ux%u, VRAM %ux%u)",
|
||||||
|
resolution_scale, m_crtc_state.display_vram_width * resolution_scale,
|
||||||
|
resolution_scale * m_crtc_state.display_vram_height,
|
||||||
|
VRAM_WIDTH * resolution_scale, VRAM_HEIGHT * resolution_scale);
|
||||||
|
}
|
||||||
|
|
||||||
m_resolution_scale = resolution_scale;
|
m_resolution_scale = resolution_scale;
|
||||||
m_true_color = g_settings.gpu_true_color;
|
m_true_color = g_settings.gpu_true_color;
|
||||||
m_scaled_dithering = g_settings.gpu_scaled_dithering;
|
m_scaled_dithering = g_settings.gpu_scaled_dithering;
|
||||||
|
|
|
@ -676,9 +676,6 @@ void HostInterface::ModifyResolutionScale(s32 increment)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
g_settings.gpu_resolution_scale = new_resolution_scale;
|
g_settings.gpu_resolution_scale = new_resolution_scale;
|
||||||
AddFormattedOSDMessage(5.0f, "Resolution scale set to %ux (%ux%u)", g_settings.gpu_resolution_scale,
|
|
||||||
GPU::VRAM_WIDTH * g_settings.gpu_resolution_scale,
|
|
||||||
GPU::VRAM_HEIGHT * g_settings.gpu_resolution_scale);
|
|
||||||
|
|
||||||
if (!System::IsShutdown())
|
if (!System::IsShutdown())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue