From 17e28a19cdf556cabc003baec87ec40e87305621 Mon Sep 17 00:00:00 2001 From: gnick79 Date: Sat, 5 Feb 2011 21:43:04 +0000 Subject: [PATCH] * Keeping resolution aligned to back-buffer size if the latter one is changed (can give a huge performance boost... even until to 100% in some cases) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7086 8ced0084-cf51-0410-be5f-012b33b47a6e --- Languages/it.po | 2 +- Source/Core/VideoCommon/Src/RenderBase.cpp | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Languages/it.po b/Languages/it.po index 93c1b884b2..225b12e812 100644 --- a/Languages/it.po +++ b/Languages/it.po @@ -1299,7 +1299,7 @@ msgstr "Hack Proiezione Personalizzato:" #: Source/Core/DolphinWX/Src/PHackSettings.h:30 #, fuzzy msgid "Custom Projection Hack Settings" -msgstr "Impostazioni Hack Proiezione Personalizzato:" +msgstr "Impostazioni Hack Proiezione Personalizzato" #: Source/Core/DolphinWX/Src/ISOProperties.cpp:347 msgid "Customize some Orthographic Projection parameters." diff --git a/Source/Core/VideoCommon/Src/RenderBase.cpp b/Source/Core/VideoCommon/Src/RenderBase.cpp index 50f7c8428f..459edee708 100644 --- a/Source/Core/VideoCommon/Src/RenderBase.cpp +++ b/Source/Core/VideoCommon/Src/RenderBase.cpp @@ -162,10 +162,13 @@ bool Renderer::CalculateTargetSize(int multiplier) newEFBWidth *= multiplier; newEFBHeight *= multiplier; + s_Fulltarget_width = newEFBWidth; + s_Fulltarget_height = newEFBHeight; + if (newEFBWidth != s_target_width || newEFBHeight != s_target_height) { - s_Fulltarget_width = s_target_width = newEFBWidth; - s_Fulltarget_height = s_target_height = newEFBHeight; + s_target_width = newEFBWidth; + s_target_height = newEFBHeight; return true; } return false;