25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: dev_ps2_stuff.c,v 1.33 2007/06/15 19:57:33 debug Exp $ |
* $Id: dev_ps2_stuff.c,v 1.34 2007/08/29 20:36:49 debug Exp $ |
29 |
* |
* |
30 |
* COMMENT: PlayStation 2 misc stuff (timer, DMA, interrupts, ...) |
* COMMENT: PlayStation 2 misc stuff (timer, DMA, interrupts, ...) |
31 |
* |
* |
409 |
/* |
/* |
410 |
* Register interrupts: |
* Register interrupts: |
411 |
* |
* |
412 |
* 16 normal IRQs (emul[x].machine[x].cpu[x].ps2_intr.%i) |
* 16 normal IRQs (machine[x].cpu[x].ps2_intr.%i) |
413 |
* 16 DMA IRQs (emul[x].machine[x].cpu[x].ps2_dmac.%i) |
* 16 DMA IRQs (machine[x].cpu[x].ps2_dmac.%i) |
414 |
* 2 sbus IRQs (emul[x].machine[x].cpu[x].ps2_sbus.%i) |
* 2 sbus IRQs (machine[x].cpu[x].ps2_sbus.%i) |
415 |
*/ |
*/ |
416 |
for (i=0; i<16; i++) { |
for (i=0; i<16; i++) { |
417 |
snprintf(n, sizeof(n), "%s.ps2_intr.%i", |
snprintf(n, sizeof(n), "%s.ps2_intr.%i", |