Reduce debug duplication
This commit is contained in:
parent
ad6fd1561f
commit
a7153f42e9
|
@ -898,31 +898,19 @@ void putDispatchChan(void* data, int chanNum, int type) {
|
||||||
case DIV_SYSTEM_K007232: {
|
case DIV_SYSTEM_K007232: {
|
||||||
DivPlatformK007232::Channel* ch=(DivPlatformK007232::Channel*)data;
|
DivPlatformK007232::Channel* ch=(DivPlatformK007232::Channel*)data;
|
||||||
ImGui::Text("> K007232");
|
ImGui::Text("> K007232");
|
||||||
ImGui::Text("* freq: %d",ch->freq);
|
COMMON_CHAN_DEBUG;
|
||||||
ImGui::Text(" - prev: %d",ch->prevFreq);
|
ImGui::Text("- prevFreq: %d",ch->prevFreq);
|
||||||
ImGui::Text(" - base: %d",ch->baseFreq);
|
|
||||||
ImGui::Text(" - pitch: %d",ch->pitch);
|
|
||||||
ImGui::Text(" - pitch2: %d",ch->pitch2);
|
|
||||||
ImGui::Text("* note: %d",ch->note);
|
|
||||||
ImGui::Text("* Sample: %d",ch->sample);
|
ImGui::Text("* Sample: %d",ch->sample);
|
||||||
ImGui::Text(" - pos: %d",ch->audPos);
|
ImGui::Text(" - pos: %d",ch->audPos);
|
||||||
ImGui::Text(" - prevBank: %d",ch->prevBank);
|
ImGui::Text(" - prevBank: %d",ch->prevBank);
|
||||||
ImGui::Text("- ins: %d",ch->ins);
|
|
||||||
ImGui::Text("* panning: %d",ch->panning);
|
ImGui::Text("* panning: %d",ch->panning);
|
||||||
ImGui::Text(" - prev: %d",ch->prevPan);
|
ImGui::Text(" - prev: %d",ch->prevPan);
|
||||||
ImGui::Text("- vol: %.2x",ch->vol);
|
|
||||||
ImGui::Text("- outVol: %.2x",ch->outVol);
|
|
||||||
ImGui::Text("- resVol: %.2x",ch->resVol);
|
ImGui::Text("- resVol: %.2x",ch->resVol);
|
||||||
ImGui::Text("- lvol: %.2x",ch->lvol);
|
ImGui::Text("- lvol: %.2x",ch->lvol);
|
||||||
ImGui::Text("- rvol: %.2x",ch->rvol);
|
ImGui::Text("- rvol: %.2x",ch->rvol);
|
||||||
ImGui::Text("- macroVolMul: %.2x",ch->macroVolMul);
|
ImGui::Text("- macroVolMul: %.2x",ch->macroVolMul);
|
||||||
ImGui::TextColored(ch->active?colorOn:colorOff,">> Active");
|
COMMON_CHAN_DEBUG_BOOL;
|
||||||
ImGui::TextColored(ch->insChanged?colorOn:colorOff,">> InsChanged");
|
|
||||||
ImGui::TextColored(ch->volumeChanged?colorOn:colorOff,">> VolumeChanged");
|
ImGui::TextColored(ch->volumeChanged?colorOn:colorOff,">> VolumeChanged");
|
||||||
ImGui::TextColored(ch->freqChanged?colorOn:colorOff,">> FreqChanged");
|
|
||||||
ImGui::TextColored(ch->keyOn?colorOn:colorOff,">> KeyOn");
|
|
||||||
ImGui::TextColored(ch->keyOff?colorOn:colorOff,">> KeyOff");
|
|
||||||
ImGui::TextColored(ch->inPorta?colorOn:colorOff,">> InPorta");
|
|
||||||
ImGui::TextColored(ch->setPos?colorOn:colorOff,">> SetPos");
|
ImGui::TextColored(ch->setPos?colorOn:colorOff,">> SetPos");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue