Previous 15994 Revisions Next

r15565 Monday 9th July, 2012 at 01:07:30 UTC by Angelo Salese
Quick ADPCM fix, not supposed to fire an irq when in idle mode
[src/mess/machine]pce.c

src/mess/machine/pce.c
r15564r15565
288288   pce_cd.adpcm_write_buf = 0;
289289
290290   // TODO: add CD-DA stop command here
291   //pce_cd.cdda_status = PCE_CD_CDDA_OFF;
292   //cdda_stop_audio( machine.device( "cdda" ) );
291293
292294   pce_cd.regs[0x0c] |= PCE_CD_ADPCM_STOP_FLAG;
293295   pce_cd.regs[0x0c] &= ~PCE_CD_ADPCM_PLAY_FLAG;
294296   //pce_cd.regs[0x03] = (pce_cd.regs[0x03] & ~0x0c) | (PCE_CD_SAMPLE_STOP_PLAY);
297   pce_cd.msm_idle = 1;
295298
296299   /* Note: Arcade Card BIOS contents are the same as System 3, only internal HW differs.
297300       We use a category to select between modes (some games can be run in either S-CD or A-CD modes) */

Previous 15994 Revisions Next


© 1998-2018 The MESS Team