changeset 1558:55d357bb4398

Fix vgmplay
author Michael Pavone <pavone@retrodev.com>
date Mon, 02 Apr 2018 00:58:42 -0700
parents a0fbb1e90533
children 098c11aaf8f0
files vgmplay.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;