mirror of https://github.com/PCSX2/pcsx2.git
GS-hw: reset RT size on reset.
This commit is contained in:
parent
1bd8ec786b
commit
6cfa740f90
pcsx2/GS/Renderers/HW
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue