1 Description: use unsigned char to keep int value
2 Use unsigned char to keep all bits of int values in the array.
3 Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
4 Bug-Debian: https://bugs.debian.org/811762
5 Last-Update: 2016-07-16
9 --- libsidplay-1.36.59.orig/src/samples.cpp
10 +++ libsidplay-1.36.59/src/samples.cpp
11 @@ -75,7 +75,7 @@ struct sampleChannel
12 sampleChannel ch4, ch5;
15 -const sbyte galwayNoiseTab1[16] =
16 +const ubyte galwayNoiseTab1[16] =
18 0x80,0x91,0xa2,0xb3,0xc4,0xd5,0xe6,0xf7,
19 0x08,0x19,0x2a,0x3b,0x4c,0x5d,0x6e,0x7f
20 @@ -84,7 +84,7 @@ const sbyte galwayNoiseTab1[16] =
21 ubyte galwayNoiseVolTab[16];
22 sbyte galwayNoiseSamTab[16];
24 -const sbyte sampleConvertTab[16] =
25 +const ubyte sampleConvertTab[16] =
27 // 0x81,0x99,0xaa,0xbb,0xcc,0xdd,0xee,0xff,
28 // 0x00,0x11,0x22,0x33,0x44,0x55,0x66,0x7f