comparison ym2612.c @ 853:2d474efb4629

Remove obsolete TODO
author Michael Pavone <pavone@retrodev.com>
date Tue, 03 Nov 2015 07:41:10 -0800
parents 5de8759b87af
children 46bb673eed4e
comparison
equal deleted inserted replaced
852:5de8759b87af 853:2d474efb4629
342 if (channel != 5 || !context->dac_enable) { 342 if (channel != 5 || !context->dac_enable) {
343 uint32_t op = context->current_op; 343 uint32_t op = context->current_op;
344 //printf("updating operator %d of channel %d\n", op, channel); 344 //printf("updating operator %d of channel %d\n", op, channel);
345 ym_operator * operator = context->operators + op; 345 ym_operator * operator = context->operators + op;
346 ym_channel * chan = context->channels + channel; 346 ym_channel * chan = context->channels + channel;
347 //TODO: Modulate phase by LFO if necessary
348 uint16_t phase = operator->phase_counter >> 10 & 0x3FF; 347 uint16_t phase = operator->phase_counter >> 10 & 0x3FF;
349 operator->phase_counter += operator->phase_inc; 348 operator->phase_counter += operator->phase_inc;
350 if (chan->pms) { 349 if (chan->pms) {
351 //not entirely sure this will get the precision correct, but I'd like to avoid recalculating phase 350 //not entirely sure this will get the precision correct, but I'd like to avoid recalculating phase
352 //increment every update when LFO phase modulation is enabled 351 //increment every update when LFO phase modulation is enabled