# HG changeset patch # User Michael Pavone # Date 1492849367 25200 # Node ID 57637d17b59e44cb47b34af1951db52b8a7c7d7e # Parent 071e761bcdcfa95bf422da94f35adaef3ab9979a Fix vgmplay target for ternary tree changes diff -r 071e761bcdcf -r 57637d17b59e vgmplay.c --- 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;