GS-hw: reset RT size on reset.

This commit is contained in:
iMineLink 2020-12-23 13:04:16 +01:00 committed by refractionpcsx2
parent 1bd8ec786b
commit 6cfa740f90
1 changed files with 5 additions and 0 deletions
pcsx2/GS/Renderers/HW

View File

@ -300,6 +300,11 @@ void GSRendererHW::VSync(u32 field, bool registers_written)
{
m_tc->RemoveAll();
// Reset RT size.
const bool custom_res = !GetUpscaleMultiplier();
m_width = custom_res ? m_custom_width : default_rt_size.x;
m_height = custom_res ? m_custom_height : default_rt_size.y;
m_reset = false;
}