diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-26 16:51:15 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-26 16:51:15 +0000 |
commit | 9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896 (patch) | |
tree | 9b071a8105704e992946dcd6b801e9fcb7635142 /audio/stymulator/files/patch-stsoundlib_YmMusic.h | |
parent | 5a20e7990eb544509174d617d359bf0d4ac64737 (diff) | |
download | ports-9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896.tar.gz ports-9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896.zip |
Notes
Diffstat (limited to 'audio/stymulator/files/patch-stsoundlib_YmMusic.h')
-rw-r--r-- | audio/stymulator/files/patch-stsoundlib_YmMusic.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/audio/stymulator/files/patch-stsoundlib_YmMusic.h b/audio/stymulator/files/patch-stsoundlib_YmMusic.h new file mode 100644 index 000000000000..eb34d1ea468c --- /dev/null +++ b/audio/stymulator/files/patch-stsoundlib_YmMusic.h @@ -0,0 +1,38 @@ +--- stsoundlib/YmMusic.h.orig 2016-07-26 16:04:42 UTC ++++ stsoundlib/YmMusic.h +@@ -38,8 +38,6 @@ + #include "Ymload.h" + #include "digidrum.h" + +-#define MAX_DIGIDRUM 128 +- + #define YMTPREC 16 + #define MAX_VOICE 8 + #define PC_DAC_FREQ 44100 +@@ -143,7 +141,7 @@ public: + int getAttrib(void); + void getMusicInfo(ymMusicInfo_t *pInfo); + void setLoopMode(ymbool bLoop); +- char *getLastError(void); ++ const char *getLastError(void); + int readYmRegister(ymint reg) { return ymChip.readRegister(reg); } + + //------------------------------------------------------------- +@@ -159,7 +157,7 @@ private: + + void setPlayerRate(int rate); + void setAttrib(int _attrib); +- void setLastError(char *pError); ++ void setLastError(const char *pError); + ymu8 *depackFile(void); + ymbool deInterleave(void); + void readYm6Effect(ymu8 *pReg,int code,int prediv,int count); +@@ -168,7 +166,7 @@ private: + + + CYm2149Ex ymChip; +- char *pLastError; ++ const char *pLastError; + ymFile_t songType; + int nbFrame; + int loopFrame; |