hex editor: show partial rows

This commit is contained in:
goyuken 2014-02-08 21:57:16 +00:00
parent f0001687ed
commit 78a0b428a3
1 changed files with 1 additions and 1 deletions

View File

@ -857,7 +857,7 @@ namespace BizHawk.Client.EmuHawk
private void SetUpScrollBar()
{
_rowsVisible = (MemoryViewerBox.Height - (fontHeight * 2) - (fontHeight / 2)) / fontHeight;
var totalRows = _domain.Size / 16;
var totalRows = (_domain.Size + 15) / 16;
if (totalRows < _rowsVisible)
{