From 07fef4c6e6a385732c508fb8129b70dcc4a43571 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Thu, 8 Jul 2010 18:38:15 +0000 Subject: [PATCH] SCI: hopefully fix build :P svn-id: r50747 --- engines/sci/engine/ksound.cpp | 44 +++++++++++++++++------------------ 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/engines/sci/engine/ksound.cpp b/engines/sci/engine/ksound.cpp index d205d250dee..88b4f6a3527 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); } +#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) +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()) {