mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Debugger: scroll by multiples of 4 bytes
Avoids that weird effect where scrolling offsets code from 4-byte boundaries, showing nonsense 75% of the time.
This commit is contained in:
@ -127,11 +127,11 @@ void CCodeView::OnScrollWheel(wxMouseEvent& event)
|
||||
|
||||
if (scroll_down)
|
||||
{
|
||||
m_curAddress += num_lines;
|
||||
m_curAddress += num_lines * 4;
|
||||
}
|
||||
else
|
||||
{
|
||||
m_curAddress -= num_lines;
|
||||
m_curAddress -= num_lines * 4;
|
||||
}
|
||||
|
||||
Refresh();
|
||||
|
Reference in New Issue
Block a user