Improve register view, fix follow PC, some cleanup

This commit is contained in:
Henrik Rydgård committed 2024-11-07 11:10:16 +01:00
1 parent 9c92978fcc
commit 99eb0bbd64
6 files changed
+80 -46

No files matched your search

+3
View File
@@ -465,6 +465,9 @@ void ImDisasmView::Draw(ImDrawList *drawList) {
int coreStep = Core_GetSteppingCounter();
if (coreStep != lastSteppingCount_) {
// A step has happened since last time. This means that we should re-center the cursor.
if (followPC_) {
gotoPC();
}
lastSteppingCount_ = coreStep;
}