mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-30 15:31:59 +00:00
Disabled some currently unused code
svn-id: r46488
This commit is contained in:
parent
ac28e8165f
commit
ca92253da1
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user