Previous 199869 Revisions Next

r36315 Sunday 8th March, 2015 at 08:11:11 UTC by Miodrag Milanović
(MESS)-gamate : audio fix for cube up [PeT]
[src/mess/audio]gamate.c
[src/mess/drivers]gamate.c

trunk/src/mess/audio/gamate.c
r244826r244827
118118                  if (channel->level) volume=0xf-EnvelopeVolumes[envelope.index];
119119                  break;
120120                case 0xa: // rising, falling
121                  if (channel->level) volume=EnvelopeVolumes[envelope.index];
121                  if (channel->level) volume=0xf-EnvelopeVolumes[envelope.index]; // cube up
122122                  break;
123123                case 0xb: // one time falling, high
124124                  if (channel->level) volume=envelope.first? 0xf-EnvelopeVolumes[envelope.index]: 0xf;
trunk/src/mess/drivers/gamate.c
r244826r244827
55 Juan F??lix Mateos vectrex@hackermesh.org
66
77 nmi unknown
8 cube up audio sometimes missing
98 bomb blast top status line missing
109 ******************************************************************************/
1110
r244826r244827
192191
193192WRITE8_MEMBER( gamate_state::gamate_audio_w )
194193{
195//  printf("audio write %x:%x\n", offset, data);//logerror("%.6f %04x audio write %04x %02x\n",machine().time().as_double(),m_maincpu->pc(),offset,data);
194//  logerror("%.6f %04x audio write %04x %02x\n",machine().time().as_double(),m_maincpu->pc(),offset,data);
196195  m_sound->device_w(space, offset, data);
197196}
198197


Previous 199869 Revisions Next


© 1997-2024 The MAME Team