parent
823c62a030
commit
10d04f4533
@ -1,22 +1,32 @@
|
|||||||
--- plugins/adplug/adplug/s3m.cpp
|
diff -uNdr deadbeef-0.7.2_orig/plugins/adplug/adplug/s3m.cpp deadbeef-0.7.2_new/plugins/adplug/adplug/s3m.cpp
|
||||||
+++ plugins/adplug/adplug/s3m.cpp
|
--- deadbeef-0.7.2_orig/plugins/adplug/adplug/s3m.cpp 2016-06-19 14:26:18.000000000 +0300
|
||||||
|
+++ deadbeef-0.7.2_new/plugins/adplug/adplug/s3m.cpp 2018-05-10 14:08:22.481231976 +0300
|
||||||
@@ -26,7 +26,7 @@
|
@@ -26,7 +26,7 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "s3m.h"
|
#include "s3m.h"
|
||||||
|
|
||||||
-const char Cs3mPlayer::chnresolv[] = // S3M -> adlib channel conversion
|
-const char Cs3mPlayer::chnresolv[] = // S3M -> adlib channel conversion
|
||||||
+const signed char Cs3mPlayer::chnresolv[] = // S3M -> adlib channel conversion
|
+const int8_t Cs3mPlayer::chnresolv[] = // S3M -> adlib channel conversion
|
||||||
{-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,-1,-1,-1,-1,-1,-1,-1};
|
{-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,-1,-1,-1,-1,-1,-1,-1};
|
||||||
|
|
||||||
const unsigned short Cs3mPlayer::notetable[12] = // S3M adlib note table
|
const unsigned short Cs3mPlayer::notetable[12] = // S3M adlib note table
|
||||||
--- plugins/adplug/adplug/s3m.h
|
diff -uNdr deadbeef-0.7.2_orig/plugins/adplug/adplug/s3m.h deadbeef-0.7.2_new/plugins/adplug/adplug/s3m.h
|
||||||
+++ plugins/adplug/adplug/s3m.h
|
--- deadbeef-0.7.2_orig/plugins/adplug/adplug/s3m.h 2016-06-19 14:26:18.000000000 +0300
|
||||||
@@ -92,7 +92,7 @@ class Cs3mPlayer: public CPlayer
|
+++ deadbeef-0.7.2_new/plugins/adplug/adplug/s3m.h 2018-05-10 14:07:39.071591002 +0300
|
||||||
|
@@ -23,6 +23,7 @@
|
||||||
|
#define H_ADPLUG_S3M
|
||||||
|
|
||||||
|
#include "player.h"
|
||||||
|
+#include <cstdint>
|
||||||
|
|
||||||
|
class Cs3mPlayer: public CPlayer
|
||||||
|
{
|
||||||
|
@@ -92,7 +93,7 @@
|
||||||
char filetype[30];
|
char filetype[30];
|
||||||
|
|
||||||
private:
|
private:
|
||||||
- static const char chnresolv[];
|
- static const char chnresolv[];
|
||||||
+ static const signed char chnresolv[];
|
+ static const int8_t chnresolv[];
|
||||||
static const unsigned short notetable[12];
|
static const unsigned short notetable[12];
|
||||||
static const unsigned char vibratotab[32];
|
static const unsigned char vibratotab[32];
|
||||||
|
|
||||||
|
@ -1,22 +1,14 @@
|
|||||||
--- plugins/sid/sidplay-libs/libsidplay/src/xsid/xsid.cpp.orig
|
diff -uNdr deadbeef-0.7.2_orig/plugins/sid/sidplay-libs/libsidplay/src/xsid/xsid.cpp deadbeef-0.7.2_new/plugins/sid/sidplay-libs/libsidplay/src/xsid/xsid.cpp
|
||||||
+++ plugins/sid/sidplay-libs/libsidplay/src/xsid/xsid.cpp
|
--- deadbeef-0.7.2_orig/plugins/sid/sidplay-libs/libsidplay/src/xsid/xsid.cpp 2016-06-19 14:26:18.000000000 +0300
|
||||||
@@ -94,7 +94,7 @@
|
+++ deadbeef-0.7.2_new/plugins/sid/sidplay-libs/libsidplay/src/xsid/xsid.cpp 2018-05-10 13:46:50.910531570 +0300
|
||||||
'\x08', '\x19', '\x2a', '\x3b', '\x4c', '\x5d', '\x6e', '\x7f'
|
@@ -83,8 +83,8 @@
|
||||||
};
|
|
||||||
*/
|
*/
|
||||||
-const int8_t XSID::sampleConvertTable[16] =
|
const int8_t XSID::sampleConvertTable[16] =
|
||||||
+const char XSID::sampleConvertTable[16] =
|
|
||||||
{
|
{
|
||||||
'\x80', '\x94', '\xa9', '\xbc', '\xce', '\xe1', '\xf2', '\x03',
|
- '\x80', '\x94', '\xa9', '\xbc', '\xce', '\xe1', '\xf2', '\x03',
|
||||||
'\x1b', '\x2a', '\x3b', '\x49', '\x58', '\x66', '\x73', '\x7f'
|
- '\x1b', '\x2a', '\x3b', '\x49', '\x58', '\x66', '\x73', '\x7f'
|
||||||
--- plugins/sid/sidplay-libs/libsidplay/src/xsid/xsid.h.orig
|
+ -128, -108, -87, -68, -50, -31, -14,
|
||||||
+++ plugins/sid/sidplay-libs/libsidplay/src/xsid/xsid.h
|
+ 3, 27, 42, 59, 73, 88, 102, 115, 127
|
||||||
@@ -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:
|
const char *XSID::credit =
|
||||||
|
Loading…
Reference in new issue