From 507f91f26188827f76bd457335a14085556e9267 Mon Sep 17 00:00:00 2001 From: cam900 Date: Sat, 10 Dec 2022 13:25:32 +0900 Subject: [PATCH] Fix delay issue, Add debug view for frequency --- src/engine/platform/k007232.cpp | 1 + src/gui/debug.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/platform/k007232.cpp b/src/engine/platform/k007232.cpp index 5e84a0711..916a942bb 100644 --- a/src/engine/platform/k007232.cpp +++ b/src/engine/platform/k007232.cpp @@ -57,6 +57,7 @@ inline void DivPlatformK007232::chWrite(unsigned char ch, unsigned int addr, uns void DivPlatformK007232::acquire(short* bufL, short* bufR, size_t start, size_t len) { for (size_t h=start; h K007232"); - ImGui::Text("* freq:"); + ImGui::Text("* freq: %d",ch->freq); ImGui::Text(" - base: %d",ch->baseFreq); ImGui::Text(" - pitch: %d",ch->pitch); ImGui::Text(" - pitch2: %d",ch->pitch2);