# HG changeset patch # User Michael Pavone # Date 1522655922 25200 # Node ID 55d357bb4398c974ce69ec4ccf7b1913ce008fda # Parent a0fbb1e90533a5cab9347b2b2c5f4b26bcf4dbc9 Fix vgmplay diff -r a0fbb1e90533 -r 55d357bb4398 vgmplay.c --- a/vgmplay.c Mon Apr 02 00:11:43 2018 -0700 +++ b/vgmplay.c Mon Apr 02 00:58:42 2018 -0700 @@ -108,10 +108,10 @@ uint32_t lowpass_cutoff = lowpass_cutoff_str ? atoi(lowpass_cutoff_str) : 3390; ym2612_context y_context; - ym_init(&y_context, render_sample_rate(), MCLKS_NTSC, MCLKS_PER_YM, render_audio_buffer(), opts, lowpass_cutoff); + ym_init(&y_context, MCLKS_NTSC, MCLKS_PER_YM, opts); psg_context p_context; - psg_init(&p_context, render_sample_rate(), MCLKS_NTSC, MCLKS_PER_PSG, render_audio_buffer(), lowpass_cutoff); + psg_init(&p_context, MCLKS_NTSC, MCLKS_PER_PSG); FILE * f = fopen(argv[1], "rb"); vgm_header header;