aboutsummaryrefslogtreecommitdiff
path: root/backends/midi
diff options
context:
space:
mode:
Diffstat (limited to 'backends/midi')
-rw-r--r--backends/midi/ym2612.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/backends/midi/ym2612.cpp b/backends/midi/ym2612.cpp
index c6fe5bb646..3a5b1e1cab 100644
--- a/backends/midi/ym2612.cpp
+++ b/backends/midi/ym2612.cpp
@@ -864,13 +864,12 @@ void MidiDriver_YM2612::rate(uint16 r)
_channel[i]->rate(r);
}
-#define M_PI 3.14159265358979323846
void MidiDriver_YM2612::createLookupTables() {
{
int i;
sintbl = new int [2048];
for (i = 0; i < 2048; i++)
- sintbl[i] = (int)(0xffff * sin(i/2048.0*2.0*M_PI));
+ sintbl[i] = (int)(0xffff * sin(i/2048.0*2.0*PI));
}
{