c64: fixed program start bug

This commit is contained in:
Steven Hugg 2022-08-12 18:43:31 -05:00
parent a3f2496785
commit 340ef9a4bc
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ export class C64_WASMMachine extends BaseWASMMachine implements Machine, Probeab
var key = cmd.charCodeAt(i);
this.exports.machine_exec(this.sys, 20000);
this.exports.machine_key_down(this.sys, key);
this.exports.machine_exec(this.sys, 20000);
this.exports.machine_exec(this.sys, 5000);
this.exports.machine_key_up(this.sys, key);
}
// advance clock until program starts