notaz.gp2x.de
/
teensytas.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add ability to disable loader sync
[teensytas.git]
/
host
/
main.c
diff --git
a/host/main.c
b/host/main.c
index
434eaa9
..
c3a850b
100644
(file)
--- a/
host/main.c
+++ b/
host/main.c
@@
-673,6
+673,7
@@
int main(int argc, char *argv[])
const char *logfn = NULL;
uint8_t *tas_data = NULL;
int use_vsync = 0; // frame increment on vsync
const char *logfn = NULL;
uint8_t *tas_data = NULL;
int use_vsync = 0; // frame increment on vsync
+ int no_start_seq = 0;
int tas_skip = 0;
int enable_sent = 0;
int abort_sent = 0;
int tas_skip = 0;
int enable_sent = 0;
int abort_sent = 0;
@@
-718,6
+719,9
@@
int main(int argc, char *argv[])
case 'v':
use_vsync = 1;
continue;
case 'v':
use_vsync = 1;
continue;
+ case 'n':
+ no_start_seq = 1;
+ continue;
default:
fprintf(stderr, "bad arg: %s\n", argv[i]);
return 1;
default:
fprintf(stderr, "bad arg: %s\n", argv[i]);
return 1;
@@
-1043,6
+1047,7
@@
int main(int argc, char *argv[])
pkt_out.enable.stream_to = (tas_data != NULL);
pkt_out.enable.stream_from = (outf != NULL);
pkt_out.enable.use_readinc = !use_vsync;
pkt_out.enable.stream_to = (tas_data != NULL);
pkt_out.enable.stream_from = (outf != NULL);
pkt_out.enable.use_readinc = !use_vsync;
+ pkt_out.enable.no_start_seq = no_start_seq;
ret = submit_urb(dev.fd, &urb[URB_DATA_OUT], dev.ifaces[0].ep_out,
&pkt_out, sizeof(pkt_out));
ret = submit_urb(dev.fd, &urb[URB_DATA_OUT], dev.ifaces[0].ep_out,
&pkt_out, sizeof(pkt_out));