# HG changeset patch # User nenolod # Date 1144346606 25200 # Node ID c19c3ea7d29dc02a21409b16963448e3c6457aac # Parent b59d9a02b16050588d1818c5787e1b73f85cdc6f [svn] - fading fix diff -r b59d9a02b160 -r c19c3ea7d29d Plugins/Input/console/Track_Emu.cpp --- a/Plugins/Input/console/Track_Emu.cpp Wed Apr 05 11:15:06 2006 -0700 +++ b/Plugins/Input/console/Track_Emu.cpp Thu Apr 06 11:03:26 2006 -0700 @@ -175,7 +175,7 @@ end_track(); int count = min( fade_block_size, out_count - i ); - int igain = (unsigned int)((double)gain) * (1 << 15); + int igain = (unsigned int)((double)gain * (1 << 15));; for ( int j = 0; j < count; j++ ) out [i + j] = (out [i + j] * igain) >> 15; }