Wait 3 seconds to start playback.

Then I can get the game set up.
This commit is contained in:
Eli Ribble 2021-09-01 04:39:05 -06:00
parent 0c3ae88b5a
commit d64a981c76
1 changed files with 5 additions and 0 deletions

View File

@ -177,6 +177,11 @@ int read_file(char* filename, int udevice_fd) {
return 1;
}
for(int i = 3; i > 0; i--) {
fprintf(stderr, "playing back in %d seconds\n", i);
sleep(1);
}
while((read = getline(&line, &len, fp)) != -1) {
if(handle_line(line, udevice_fd)) {
return 1;