From 28a3b31e645631dc8f8a9223e6617bbfbf6220b6 Mon Sep 17 00:00:00 2001 From: zeromus Date: Thu, 11 Jun 2009 16:33:23 +0000 Subject: [PATCH] apply qeed's sound counter table --- src/sound.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sound.cpp b/src/sound.cpp index 2f5f37ec..f6f575d0 100644 --- a/src/sound.cpp +++ b/src/sound.cpp @@ -89,8 +89,8 @@ static int32 sqacc[2]; static int32 lengthcount[4]; static const uint8 lengthtable[0x20]= { - 0x5*2,0x7f*2,0xA*2,0x1*2,0x14*2,0x2*2,0x28*2,0x3*2,0x50*2,0x4*2,0x1E*2,0x5*2,0x7*2,0x6*2,0x0E*2,0x7*2, - 0x6*2,0x08*2,0xC*2,0x9*2,0x18*2,0xa*2,0x30*2,0xb*2,0x60*2,0xc*2,0x24*2,0xd*2,0x8*2,0xe*2,0x10*2,0xf*2 + 10,254, 20, 2, 40, 4, 80, 6, 160, 8, 60, 10, 14, 12, 26, 14, + 12, 16, 24, 18, 48, 20, 96, 22, 192, 24, 72, 26, 16, 28, 32, 30 }; static const uint32 NoiseFreqTable[0x10]=