mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
SCI: Added a define to turn off channel remapping (for debugging)
svn-id: r54496
This commit is contained in:
parent
d3b14e1445
commit
5562f9e087
@ -36,6 +36,8 @@
|
||||
#include "sci/sound/midiparser_sci.h"
|
||||
#include "sci/sound/music.h"
|
||||
|
||||
//#define DISABLE_REMAPPING
|
||||
|
||||
namespace Sci {
|
||||
|
||||
SciMusic::SciMusic(SciVersion soundVersion)
|
||||
@ -327,6 +329,10 @@ void SciMusic::soundInitSnd(MusicEntry *pSnd) {
|
||||
// This one checks, if requested channel is available -> in that case give
|
||||
// caller that channel. Otherwise look for an unused one
|
||||
int16 SciMusic::tryToOwnChannel(MusicEntry *caller, int16 bestChannel) {
|
||||
#ifdef DISABLE_REMAPPING
|
||||
return bestChannel;
|
||||
#endif
|
||||
|
||||
// Don't even try this for SCI0
|
||||
if (_soundVersion <= SCI_VERSION_0_LATE)
|
||||
return bestChannel;
|
||||
|
Loading…
Reference in New Issue
Block a user