mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Debugger: Update status on scroll down.
And include the start and end of the range.
This commit is contained in:
1 parent
a4ed6eb167
commit
de72190344
1 file changed
+2
-1
@@ -562,7 +562,7 @@ void CtrlMemView::updateStatusBarText() {
|
||||
snprintf(text, sizeof(text), "%08X", curAddress);
|
||||
// There should only be one.
|
||||
for (MemBlockInfo info : memRangeInfo) {
|
||||
snprintf(text, sizeof(text), "%08X - %s (at PC %08X / %lld ticks)", curAddress, info.tag.c_str(), info.pc, info.ticks);
|
||||
snprintf(text, sizeof(text), "%08X - %s %08X-%08X (at PC %08X / %lld ticks)", curAddress, info.tag.c_str(), info.start, info.start + info.size, info.pc, info.ticks);
|
||||
}
|
||||
|
||||
SendMessage(GetParent(wnd), WM_DEB_SETSTATUSBARTEXT, 0, (LPARAM)text);
|
||||
@@ -634,6 +634,7 @@ void CtrlMemView::scrollWindow(int lines)
|
||||
{
|
||||
windowStart += lines*rowSize;
|
||||
curAddress += lines*rowSize;
|
||||
updateStatusBarText();
|
||||
redraw();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user