You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
deadbeef/sidplay-libs-gcc6.patch

23 lines
840 B

--- plugins/sid/sidplay-libs/libsidplay/src/xsid/xsid.cpp.orig
+++ plugins/sid/sidplay-libs/libsidplay/src/xsid/xsid.cpp
@@ -94,7 +94,7 @@
'\x08', '\x19', '\x2a', '\x3b', '\x4c', '\x5d', '\x6e', '\x7f'
};
*/
-const int8_t XSID::sampleConvertTable[16] =
+const char XSID::sampleConvertTable[16] =
{
'\x80', '\x94', '\xa9', '\xbc', '\xce', '\xe1', '\xf2', '\x03',
'\x1b', '\x2a', '\x3b', '\x49', '\x58', '\x66', '\x73', '\x7f'
--- plugins/sid/sidplay-libs/libsidplay/src/xsid/xsid.h.orig
+++ plugins/sid/sidplay-libs/libsidplay/src/xsid/xsid.h
@@ -238,7 +238,7 @@
uint8_t sidData0x18;
bool _sidSamples;
int8_t sampleOffset;
- static const int8_t sampleConvertTable[16];
+ static const char sampleConvertTable[16];
bool wasRunning;
private: