[O] Optimize a lot of things

This commit is contained in:
Hykilpikonna
2022-11-12 17:06:02 -05:00
parent 18750d7595
commit 2c8c4f51a5
22 changed files with 400 additions and 588 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ public class RunStepAction extends GuiAction
FileStatus.set(FileStatus.TERMINATED); // should be redundant.
executePane.getTextSegmentWindow().setCodeHighlighting(true);
executePane.getTextSegmentWindow().unhighlightAllSteps();
executePane.getTextSegmentWindow().highlightStepAtAddress(RegisterFile.getProgramCounter() - 4);
executePane.getTextSegmentWindow().highlightStepAtAddress(RegisterFile.getPc() - 4);
}
VenusUI.setReset(false);
}