Mercurial > repos > blastem
comparison ztestgen.c @ 2053:3414a4423de1 segacd
Merge from default
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 15 Jan 2022 13:15:21 -0800 |
parents | cd6f4cea97b6 |
children | 10c7f1e44c47 |
comparison
equal
deleted
inserted
replaced
1692:5dacaef602a7 | 2053:3414a4423de1 |
---|---|
9 #include <stdint.h> | 9 #include <stdint.h> |
10 #include <stdio.h> | 10 #include <stdio.h> |
11 #include <sys/stat.h> | 11 #include <sys/stat.h> |
12 #include <sys/types.h> | 12 #include <sys/types.h> |
13 #include <errno.h> | 13 #include <errno.h> |
14 #include <time.h> | |
14 | 15 |
15 extern z80inst z80_tbl_a[256]; | 16 extern z80inst z80_tbl_a[256]; |
16 extern z80inst z80_tbl_extd[0xC0-0x40]; | 17 extern z80inst z80_tbl_extd[0xC0-0x40]; |
17 extern z80inst z80_tbl_bit[256]; | 18 extern z80inst z80_tbl_bit[256]; |
18 extern z80inst z80_tbl_ix[256]; | 19 extern z80inst z80_tbl_ix[256]; |
528 } | 529 } |
529 } | 530 } |
530 | 531 |
531 int main(int argc, char ** argv) | 532 int main(int argc, char ** argv) |
532 { | 533 { |
534 srand(time(NULL)); | |
533 z80_gen_all(); | 535 z80_gen_all(); |
534 return 0; | 536 return 0; |
535 } | 537 } |