log_unhandled("koff1 %04x %d\n", val, cycles - spu.last_keyon_cycles);\r
val &= ~regAreaGet(H_SPUon1);\r
}\r
+ do_samples_if_needed(cycles, 0, 2);\r
SoundOff(0,16,val);\r
break;\r
//-------------------------------------------------//\r
log_unhandled("koff2 %04x %d\n", val, cycles - spu.last_keyon_cycles);\r
val &= ~regAreaGet(H_SPUon2);\r
}\r
+ do_samples_if_needed(cycles, 0, 2);\r
SoundOff(16,24,val);\r
break;\r
//-------------------------------------------------//\r
{
if((spu.spuCtrl & (CTRL_ON|CTRL_IRQ)) == (CTRL_ON|CTRL_IRQ) && pos == spu.pSpuIrq)
{
- //printf("ch%d irq %04x\n", ch, pos - spu.spuMemC);
+ //printf("ch%d irq %04zx\n", ch, pos - spu.spuMemC);
do_irq();
return 1;
}