* 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
This commit is contained in:
gnick79 2011-02-05 21:43:04 +00:00
parent 1f42061163
commit 17e28a19cd
2 changed files with 6 additions and 3 deletions

View File

@ -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."

View File

@ -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;