Previous 15994 Revisions Next

r12684 Sunday 21st August, 2011 at 02:19:29 UTC by Angelo Salese
Added MVOL to SCSP core, mostly noticeable with a sound fade out effect when you skip the Saturn logo
[src/emu/sound]scsp.c

src/emu/sound/scsp.c
r12683r12684
703703{
704704   /* temporary hack until this is converted to a device */
705705   address_space *space = scsp->device->machine().firstcpu->memory().space(AS_PROGRAM);
706
706707   switch(reg&0x3f)
707708   {
709      case 0x0:
710         scsp->stream->set_output_gain(0,MVOL(scsp) / 15.0);
711         scsp->stream->set_output_gain(1,MVOL(scsp) / 15.0);
712         break;
708713      case 0x2:
709714      case 0x3:
710715         {

Previous 15994 Revisions Next


© 1998-2018 The MESS Team