mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-02 11:02:28 +02:00
Merge pull request #1108 from FioraAeterna/fixdebugscroll
Debugger: scroll by multiples of 4 bytes
This commit is contained in:
commit
e9164247d6
@ -127,11 +127,11 @@ void CCodeView::OnScrollWheel(wxMouseEvent& event)
|
|||||||
|
|
||||||
if (scroll_down)
|
if (scroll_down)
|
||||||
{
|
{
|
||||||
m_curAddress += num_lines;
|
m_curAddress += num_lines * 4;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
m_curAddress -= num_lines;
|
m_curAddress -= num_lines * 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
Refresh();
|
Refresh();
|
||||||
|
@ -147,11 +147,11 @@ void CMemoryView::OnScrollWheel(wxMouseEvent& event)
|
|||||||
|
|
||||||
if (scroll_down)
|
if (scroll_down)
|
||||||
{
|
{
|
||||||
curAddress += num_lines;
|
curAddress += num_lines * 4;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
curAddress -= num_lines;
|
curAddress -= num_lines * 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
Refresh();
|
Refresh();
|
||||||
|
Loading…
Reference in New Issue
Block a user