Skip to content

Commit

Permalink
[emulator] missed continue
Browse files Browse the repository at this point in the history
this bug was causing too many checks and broke the execution
since the scripts are only relying on time delays

Signed-off-by: Christopher Hall <[email protected]>
  • Loading branch information
hxw committed Nov 27, 2020
1 parent 985ac34 commit fbfa9b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion emulator/emulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ int emulator(const char *name,
if (rc > 0) {
if (FD_ISSET(proc_fd, &fds)) {
handle_proc_fd(&cmd, &pads, &layout, conv_punch);
continue;
}
// only possibility here is keyboard
if (FD_ISSET(STDIN_FILENO, &fds)) {
Expand All @@ -224,7 +225,7 @@ int emulator(const char *name,
}

if (cmd.wait) {
beep();
// beep();
sleep(1);
elliott803_send(cmd.proc, "check", 5);
}
Expand Down

0 comments on commit fbfa9b3

Please sign in to comment.