cardiograph - Remove old debug logging
This commit is contained in:
parent
19784b56b6
commit
e9d721042b
|
|
@ -27,13 +27,10 @@ async function main() {
|
|||
|
||||
if (!debuggable) {
|
||||
code = new Uint8Array(input.split(' '));
|
||||
dbg.nit(code);
|
||||
} else {
|
||||
const parsedInput = JSON.parse(input);
|
||||
code = new Uint8Array(parsedInput.machineCode);
|
||||
sourceInfo = parsedInput.sourceInfo;
|
||||
dbg.nit(code);
|
||||
dbg.nit(sourceInfo);
|
||||
}
|
||||
|
||||
cpu.loadMemory(code);
|
||||
|
|
|
|||
Loading…
Reference in New Issue