From c58a232cd5e5f089d7a15ad9edd4393c40802ebe Mon Sep 17 00:00:00 2001 From: cam900 Date: Mon, 15 Jul 2024 18:55:59 +0900 Subject: [PATCH] Add notes --- src/engine/platform/opl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/platform/opl.cpp b/src/engine/platform/opl.cpp index f831d3887..9d00d5289 100644 --- a/src/engine/platform/opl.cpp +++ b/src/engine/platform/opl.cpp @@ -2667,7 +2667,7 @@ DivDispatchOscBuffer* DivPlatformOPL::getOscBuffer(int ch) { } int DivPlatformOPL::mapVelocity(int ch, float vel) { - if (PCM_CHECK(ch)) return vel*127.0; + if (PCM_CHECK(ch)) return vel*127.0; // TODO: Covert to log, -0.375dB per step if (ch==adpcmChan) return vel*255.0; // -0.75dB per step // -6: 64: 8