Wait 3 seconds to start playback.
Then I can get the game set up.
This commit is contained in:
parent
0c3ae88b5a
commit
d64a981c76
|
@ -177,6 +177,11 @@ int read_file(char* filename, int udevice_fd) {
|
||||||
return 1;
|
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) {
|
while((read = getline(&line, &len, fp)) != -1) {
|
||||||
if(handle_line(line, udevice_fd)) {
|
if(handle_line(line, udevice_fd)) {
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in New Issue