1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2026-04-19 08:27:40 +00:00

cleaner runToPc logging

This commit is contained in:
Fred Sauer
2026-02-22 15:10:58 -08:00
parent 4dd1d5e09b
commit 3e79e0169c
+1 -2
View File
@@ -1107,14 +1107,13 @@ function getEditorPC(): number {
}
export function runToPC(pc: number[]) {
console.log("runToPC", pc);
if (!checkRunReady()) return;
if (pc.length === 0 || pc.some(p => !(p >= 0))) return;
lastDebugState = null;
hideDebugInfo();
projectWindows.refresh(false);
setupBreakpoint("toline");
console.log("Run to", pc.map(p => p.toString(16)));
console.log("runToPC", pc.map(p => p.toString(16)).join(" "));
if (platform.runToPC) {
platform.runToPC(pc);
} else {