Fix AY89x0 regression

This commit is contained in:
cam900 2022-09-26 07:28:04 +09:00
parent 89ece073f6
commit b8d2c51a14
5 changed files with 147 additions and 105 deletions

View file

@ -845,10 +845,16 @@ void putDispatchChan(void* data, int chanNum, int type) {
ImGui::Text("- note: %d",ch->note);
ImGui::Text("- ins: %d",ch->ins);
ImGui::Text("* psgMode:");
ImGui::Text(" - tone: %d",ch->psgMode.tone);
ImGui::Text(" - noise: %d",ch->psgMode.noise);
ImGui::Text(" - envelope: %d",ch->psgMode.envelope);
ImGui::Text(" - dac: %d",ch->psgMode.dac);
ImGui::Text(" * curr:");
ImGui::Text(" - tone: %d",ch->currPSGMode.tone);
ImGui::Text(" - noise: %d",ch->currPSGMode.noise);
ImGui::Text(" - envelope: %d",ch->currPSGMode.envelope);
ImGui::Text(" - dac: %d",ch->currPSGMode.dac);
ImGui::Text(" * next:");
ImGui::Text(" - tone: %d",ch->nextPSGMode.tone);
ImGui::Text(" - noise: %d",ch->nextPSGMode.noise);
ImGui::Text(" - envelope: %d",ch->nextPSGMode.envelope);
ImGui::Text(" - dac: %d",ch->nextPSGMode.dac);
ImGui::Text("* DAC:");
ImGui::Text(" - sample: %d",ch->dac.sample);
ImGui::Text(" - rate: %d",ch->dac.rate);
@ -885,10 +891,16 @@ void putDispatchChan(void* data, int chanNum, int type) {
ImGui::Text(" * slide: %d",ch->envelope.slide);
ImGui::Text(" - low: %d",ch->envelope.slideLow);
ImGui::Text("* psgMode:");
ImGui::Text(" - tone: %d",ch->psgMode.tone);
ImGui::Text(" - noise: %d",ch->psgMode.noise);
ImGui::Text(" - envelope: %d",ch->psgMode.envelope);
ImGui::Text(" - dac: %d",ch->psgMode.dac);
ImGui::Text(" * curr:");
ImGui::Text(" - tone: %d",ch->currPSGMode.tone);
ImGui::Text(" - noise: %d",ch->currPSGMode.noise);
ImGui::Text(" - envelope: %d",ch->currPSGMode.envelope);
ImGui::Text(" - dac: %d",ch->currPSGMode.dac);
ImGui::Text(" * next:");
ImGui::Text(" - tone: %d",ch->nextPSGMode.tone);
ImGui::Text(" - noise: %d",ch->nextPSGMode.noise);
ImGui::Text(" - envelope: %d",ch->nextPSGMode.envelope);
ImGui::Text(" - dac: %d",ch->nextPSGMode.dac);
ImGui::Text("* DAC:");
ImGui::Text(" - sample: %d",ch->dac.sample);
ImGui::Text(" - rate: %d",ch->dac.rate);