Disabled some currently unused code

svn-id: r46488
This commit is contained in:
Filippos Karapetis 2009-12-22 20:53:03 +00:00
parent ac28e8165f
commit ca92253da1
2 changed files with 10 additions and 2 deletions

View File

@ -161,6 +161,7 @@ void SciMusic::sortPlayList() {
qsort(pData, _playList.size(), sizeof(MusicEntry *), &f_compare);
}
#if 0
void SciMusic::patchSysEx(byte * addr, byte *pdata, int len) {
byte *buff = new byte[7 + len + 1];
uint16 chk = 0;
@ -190,13 +191,15 @@ void SciMusic::patchUpdateAddr(byte *addr, int len) {
addr[2] -= 0x80;
}
}
void SciMusic::loadPatch() {
#endif
// FIXME: This should be done at the driver level
#if 0
void SciMusic::loadPatch() {
if (_midiType == MD_MT32)
loadPatchMT32();
#endif
}
#endif
#if 0
// currently loads patch 1.pat for Roland/MT-32 device

View File

@ -99,7 +99,9 @@ public:
~SciMusic();
void init();
#if 0
void loadPatch();
#endif
void onTimer();
bool saveState(Common::OutSaveFile *pFile);
bool restoreState(Common::InSaveFile *pFile);
@ -136,9 +138,12 @@ public:
protected:
byte findAudEntry(uint16 nAud, byte&oVolume, uint32& oOffset, uint32&oSize);
void sortPlayList();
#if 0
void loadPatchMT32();
void patchSysEx(byte * addr, byte *pdata, int len);
void patchUpdateAddr(byte *addr, int len);
#endif
void doFade(MusicEntry *pSnd);
Audio::Mixer *_pMixer;