Y8950: fix ADPCM chan osc
This commit is contained in:
parent
032ff82955
commit
a2c745cb10
2 changed files with 12 additions and 12 deletions
|
|
@ -276,14 +276,14 @@ void FurnaceGUI::drawDebug() {
|
|||
ImGui::Checkbox(fmt::sprintf("##%d_OSCFollow_%d",i,c).c_str(),&oscBuf->follow);
|
||||
// address
|
||||
ImGui::TableNextColumn();
|
||||
int needle=oscBuf->needle;
|
||||
unsigned int needle=oscBuf->needle;
|
||||
ImGui::BeginDisabled(oscBuf->follow);
|
||||
if (ImGui::InputInt(fmt::sprintf("##%d_OSCFollowNeedle_%d",i,c).c_str(),&needle,1,100)) {
|
||||
}
|
||||
/*if (ImGui::InputInt(fmt::sprintf("##%d_OSCFollowNeedle_%d",i,c).c_str(),&needle,1,100)) {
|
||||
}*/
|
||||
ImGui::EndDisabled();
|
||||
// data
|
||||
ImGui::TableNextColumn();
|
||||
ImGui::Text("%d",oscBuf->data[needle]);
|
||||
ImGui::Text("%d",oscBuf->data[needle>>16]);
|
||||
}
|
||||
ImGui::EndTable();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue