diff options
Diffstat (limited to 'engines/sci/engine')
-rw-r--r-- | engines/sci/engine/ksound.cpp | 4 | ||||
-rw-r--r-- | engines/sci/engine/vm.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/engine/ksound.cpp b/engines/sci/engine/ksound.cpp index 8daaf6f22a..a70cb1a2ea 100644 --- a/engines/sci/engine/ksound.cpp +++ b/engines/sci/engine/ksound.cpp @@ -377,7 +377,7 @@ static reg_t kDoSoundSci0(EngineState *s, int argc, reg_t *argv) { break; case _K_SCI0_SOUND_GET_POLYPHONY: - s->r_acc = make_reg(0, sfx_get_player_polyphony()); + s->r_acc = make_reg(0, s->_sound.sfx_get_player_polyphony()); break; case _K_SCI0_SOUND_PLAY_NEXT: @@ -495,7 +495,7 @@ static reg_t kDoSoundSci1Early(EngineState *s, int argc, reg_t *argv) { break; } case _K_SCI01_SOUND_GET_POLYPHONY : { - s->r_acc = make_reg(0, sfx_get_player_polyphony()); + s->r_acc = make_reg(0, s->_sound.sfx_get_player_polyphony()); break; } case _K_SCI01_SOUND_PLAY_HANDLE : { diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp index dacda2b644..f534a1945d 100644 --- a/engines/sci/engine/vm.cpp +++ b/engines/sci/engine/vm.cpp @@ -1765,7 +1765,7 @@ static EngineState *_game_run(EngineState *&s, int restoring) { script_free_engine(s); script_init_engine(s); game_init(s); - sfx_reset_player(); + s->_sound.sfx_reset_player(); _init_stack_base_with_selector(s, s->_kernel->_selectorCache.play); send_selector(s, s->game_obj, s->game_obj, s->stack_base, 2, s->stack_base); |