diff options
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..826e8d009902 --- /dev/null +++ b/audio/stymulator/files/patch-stsoundlib__YmMusic.h @@ -0,0 +1,38 @@ +--- ./stsoundlib/YmMusic.h.orig 2010-04-23 13:49:47.000000000 +0200 ++++ ./stsoundlib/YmMusic.h 2010-04-23 13:50:07.000000000 +0200 +@@ -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 @@ + 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 @@ + + 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 @@ + + + CYm2149Ex ymChip; +- char *pLastError; ++ const char *pLastError; + ymFile_t songType; + int nbFrame; + int loopFrame; |