mirror of https://github.com/RPCS3/rpcs3.git
memory viewer: fix horrible overflow that freezes rpcs3
This commit is contained in:
parent
3cfead4ca6
commit
ed8e5498d1
|
@ -283,7 +283,8 @@ void memory_viewer_panel::resizeEvent(QResizeEvent *event)
|
|||
else if (m_height_leftover < -font_height)
|
||||
{
|
||||
m_height_leftover += font_height;
|
||||
--m_rowcount;
|
||||
if (m_rowcount > 0)
|
||||
--m_rowcount;
|
||||
ShowMemory();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue