| 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 |
| r12683 | r12684 | |
|---|---|---|
| 703 | 703 | { |
| 704 | 704 | /* temporary hack until this is converted to a device */ |
| 705 | 705 | address_space *space = scsp->device->machine().firstcpu->memory().space(AS_PROGRAM); |
| 706 | ||
| 706 | 707 | switch(reg&0x3f) |
| 707 | 708 | { |
| 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; | |
| 708 | 713 | case 0x2: |
| 709 | 714 | case 0x3: |
| 710 | 715 | { |
| Previous | 15994 Revisions | Next |