diff options
author | Martin Kiewitz | 2010-07-08 18:38:15 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-07-08 18:38:15 +0000 |
commit | 07fef4c6e6a385732c508fb8129b70dcc4a43571 (patch) | |
tree | c38763078cf88cba93bd0a9b391cd45e779baa72 | |
parent | b877f3c7115a187acf0fb9fb5fcdacc28ce36ec3 (diff) | |
download | scummvm-rg350-07fef4c6e6a385732c508fb8129b70dcc4a43571.tar.gz scummvm-rg350-07fef4c6e6a385732c508fb8129b70dcc4a43571.tar.bz2 scummvm-rg350-07fef4c6e6a385732c508fb8129b70dcc4a43571.zip |
SCI: hopefully fix build :P
svn-id: r50747
-rw-r--r-- | engines/sci/engine/ksound.cpp | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/engines/sci/engine/ksound.cpp b/engines/sci/engine/ksound.cpp index d205d250de..88b4f6a352 100644 --- a/engines/sci/engine/ksound.cpp +++ b/engines/sci/engine/ksound.cpp @@ -42,29 +42,29 @@ reg_t kDoSound(EngineState *s, int argc, reg_t *argv) { return g_sci->_soundCmd->parseCommand(argc, argv, s->r_acc); } -#define CREATE_FORWARD(_name_, _forward_) reg_t k##_name_(EngineState *s, int argc, reg_t *argv) { return g_sci->##_forward_(argc, argv, s->r_acc); } - -CREATE_FORWARD(DoSoundInit, _soundCmd->parseCommand) -CREATE_FORWARD(DoSoundPlay, _soundCmd->parseCommand) -CREATE_FORWARD(DoSoundDummy, _soundCmd->parseCommand) -CREATE_FORWARD(DoSoundDispose, _soundCmd->parseCommand) -CREATE_FORWARD(DoSoundMute, _soundCmd->parseCommand) -CREATE_FORWARD(DoSoundStop, _soundCmd->parseCommand) -CREATE_FORWARD(DoSoundPause, _soundCmd->parseCommand) -CREATE_FORWARD(DoSoundResume, _soundCmd->parseCommand) -CREATE_FORWARD(DoSoundMasterVolume, _soundCmd->parseCommand) -CREATE_FORWARD(DoSoundUpdate, _soundCmd->parseCommand) -CREATE_FORWARD(DoSoundFade, _soundCmd->parseCommand) -CREATE_FORWARD(DoSoundGetPolyphony, _soundCmd->parseCommand) -CREATE_FORWARD(DoSoundUpdateCues, _soundCmd->parseCommand) -CREATE_FORWARD(DoSoundSendMidi, _soundCmd->parseCommand) -CREATE_FORWARD(DoSoundReverb, _soundCmd->parseCommand) -CREATE_FORWARD(DoSoundSetHold, _soundCmd->parseCommand) -CREATE_FORWARD(DoSoundGetAudioCapability, _soundCmd->parseCommand) -CREATE_FORWARD(DoSoundSuspend, _soundCmd->parseCommand) -CREATE_FORWARD(DoSoundSetVolume, _soundCmd->parseCommand) -CREATE_FORWARD(DoSoundSetPriority, _soundCmd->parseCommand) -CREATE_FORWARD(DoSoundSetLoop, _soundCmd->parseCommand) +#define CREATE_FORWARD(_name_, _forward_) reg_t k##_name_(EngineState *s, int argc, reg_t *argv) { return g_sci->_##_forward_(argc, argv, s->r_acc); } + +CREATE_FORWARD(DoSoundInit, soundCmd->parseCommand) +CREATE_FORWARD(DoSoundPlay, soundCmd->parseCommand) +CREATE_FORWARD(DoSoundDummy, soundCmd->parseCommand) +CREATE_FORWARD(DoSoundDispose, soundCmd->parseCommand) +CREATE_FORWARD(DoSoundMute, soundCmd->parseCommand) +CREATE_FORWARD(DoSoundStop, soundCmd->parseCommand) +CREATE_FORWARD(DoSoundPause, soundCmd->parseCommand) +CREATE_FORWARD(DoSoundResume, soundCmd->parseCommand) +CREATE_FORWARD(DoSoundMasterVolume, soundCmd->parseCommand) +CREATE_FORWARD(DoSoundUpdate, soundCmd->parseCommand) +CREATE_FORWARD(DoSoundFade, soundCmd->parseCommand) +CREATE_FORWARD(DoSoundGetPolyphony, soundCmd->parseCommand) +CREATE_FORWARD(DoSoundUpdateCues, soundCmd->parseCommand) +CREATE_FORWARD(DoSoundSendMidi, soundCmd->parseCommand) +CREATE_FORWARD(DoSoundReverb, soundCmd->parseCommand) +CREATE_FORWARD(DoSoundSetHold, soundCmd->parseCommand) +CREATE_FORWARD(DoSoundGetAudioCapability, soundCmd->parseCommand) +CREATE_FORWARD(DoSoundSuspend, soundCmd->parseCommand) +CREATE_FORWARD(DoSoundSetVolume, soundCmd->parseCommand) +CREATE_FORWARD(DoSoundSetPriority, soundCmd->parseCommand) +CREATE_FORWARD(DoSoundSetLoop, soundCmd->parseCommand) reg_t kDoCdAudio(EngineState *s, int argc, reg_t *argv) { switch (argv[0].toUint16()) { |