diff vgmplay.c @ 1327:57637d17b59e

Fix vgmplay target for ternary tree changes
author Michael Pavone <pavone@retrodev.com>
date Sat, 22 Apr 2017 01:22:47 -0700
parents c95893007a83
children 55d357bb4398
line wrap: on
line diff
--- a/vgmplay.c	Fri Apr 21 23:35:32 2017 -0700
+++ b/vgmplay.c	Sat Apr 22 01:22:47 2017 -0700
@@ -104,7 +104,7 @@
 		opts |= YM_OPT_WAVE_LOG;
 	}
 	
-	char * lowpass_cutoff_str = tern_find_path(config, "audio\0lowpass_cutoff\0").ptrval;
+	char * lowpass_cutoff_str = tern_find_path(config, "audio\0lowpass_cutoff\0", TVAL_PTR).ptrval;
 	uint32_t lowpass_cutoff = lowpass_cutoff_str ? atoi(lowpass_cutoff_str) : 3390;
 
 	ym2612_context y_context;