Mercurial > repos > blastem
comparison psg.c @ 364:62177cc39049
Incredibly broken YM2612 support plus a fix to Z80 bus request
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 29 May 2013 00:57:19 -0700 |
parents | fcd31d19dddd |
children | 1c8d74f2ab0b |
comparison
equal
deleted
inserted
replaced
363:c708dea45f8b | 364:62177cc39049 |
---|---|
101 if (context->noise_out) { | 101 if (context->noise_out) { |
102 acc += volume_table[context->volume[3]]; | 102 acc += volume_table[context->volume[3]]; |
103 } | 103 } |
104 context->audio_buffer[context->buffer_pos++] = acc; | 104 context->audio_buffer[context->buffer_pos++] = acc; |
105 if (context->buffer_pos == context->samples_frame) { | 105 if (context->buffer_pos == context->samples_frame) { |
106 render_wait_audio(context); | 106 render_wait_psg(context); |
107 } | 107 } |
108 } | 108 } |
109 context->cycles++; | 109 context->cycles++; |
110 } | 110 } |
111 } | 111 } |