From 5c95d7f513e3a6c4fb1c3013505b27c7ac9834ac Mon Sep 17 00:00:00 2001 From: tildearrow Date: Sun, 12 Feb 2023 01:18:26 -0500 Subject: [PATCH] Revert "VOL_CALC" This reverts commit a0f1f98b2def58df0b4c2ab90076bfa80ad8b151. --- src/engine/platform/es5506.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/engine/platform/es5506.cpp b/src/engine/platform/es5506.cpp index 8db9fa29f..dd0413eaf 100644 --- a/src/engine/platform/es5506.cpp +++ b/src/engine/platform/es5506.cpp @@ -23,7 +23,6 @@ #include #include -#define VOL_CALC(vol) ((0xffff*(vol))/0xff) #define PITCH_OFFSET ((double)(16*2048*(chanMax+1))) #define NOTE_ES5506(c,note) (parent->calcBaseFreq(chipClock,chan[c].pcm.freqOffs,note,false))