]> Shamusworld >> Repos - thunder/blobdiff - src/ym2151.c
Added MCU to execution loop and it works.
[thunder] / src / ym2151.c
index 2074a4c3cfae96cbd183f622a715edca98644697..a69a281e89a26cb544625a39c078ed20c3137ad2 100644 (file)
@@ -834,7 +834,7 @@ void write_YM_D1L_RR_BASE(uint8_t n, uint8_t r, uint8_t v)
 ** 'rate' is sampling rate and 'bufsiz' is the size of the
 ** buffer that should be updated at each interval
 */
-int YMInit(int num, int clock, int rate, int sample_bits, int bufsiz, SAMPLE ** buffer)
+int YMInit(int num, int clock, int rate, int sample_bits, int bufsiz)//, SAMPLE ** buffer)
 {
        int i;
 
@@ -922,7 +922,7 @@ int YMInit(int num, int clock, int rate, int sample_bits, int bufsiz, SAMPLE **
 
        for(i=0; i<YMNumChips; i++)
        {
-               YMPSG[i].Buf = buffer[i];
+               YMPSG[i].Buf = 0;//buffer[i];
                YMPSG[i].bufp = 0;
                YMResetChip(i);
        }