src/mame/video/jaguar.c
| r5541 | r5542 | |
| 664 | 664 | WRITE16_HANDLER( jaguar_tom_regs_w ) |
| 665 | 665 | { |
| 666 | 666 | UINT32 reg_store = gpu_regs[offset]; |
| 667 | | attotime sample_period; |
| 667 | // attotime sample_period; |
| 668 | 668 | if (offset < GPU_REGS) |
| 669 | 669 | { |
| 670 | 670 | COMBINE_DATA(&gpu_regs[offset]); |
| 671 | 671 | |
| 672 | 672 | switch (offset) |
| 673 | 673 | { |
| 674 | | |
| 675 | | #if 0 case PIT1: |
| 674 | #if 0 |
| 675 | case PIT1: |
| 676 | 676 | if (gpu_regs[PIT0]) |
| 677 | 677 | { |
| 678 | 678 | sample_period = ATTOTIME_IN_NSEC(cpu_get_clock(cputag_get_cpu(space->machine,"gpu")) / (1+gpu_regs[PIT0]) / (1+gpu_regs[PIT1])); |