diff options
author | Paul Gilbert | 2018-12-14 20:37:22 -0800 |
---|---|---|
committer | Paul Gilbert | 2018-12-14 20:37:22 -0800 |
commit | 1d12eb4c11d2ae89c4b06d86d6af98b5ef02f8fe (patch) | |
tree | 7f4313d57b241cf141f0d6388a590d87012637b7 /engines/glk/frotz/glk_interface.cpp | |
parent | 3546f77995f2a0f066e4cb618264621665b4ec4a (diff) | |
download | scummvm-rg350-1d12eb4c11d2ae89c4b06d86d6af98b5ef02f8fe.tar.gz scummvm-rg350-1d12eb4c11d2ae89c4b06d86d6af98b5ef02f8fe.tar.bz2 scummvm-rg350-1d12eb4c11d2ae89c4b06d86d6af98b5ef02f8fe.zip |
GLK: FROTZ: Fix sound looping
Diffstat (limited to 'engines/glk/frotz/glk_interface.cpp')
-rw-r--r-- | engines/glk/frotz/glk_interface.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/glk/frotz/glk_interface.cpp b/engines/glk/frotz/glk_interface.cpp index 200adbb9fe..b78a067c89 100644 --- a/engines/glk/frotz/glk_interface.cpp +++ b/engines/glk/frotz/glk_interface.cpp @@ -266,8 +266,7 @@ void GlkInterface::os_start_sample(int number, int volume, int repeats, zword eo default: vol = 0x20000; break; } - // we dont do repeating or eos-callback for now... - glk_schannel_play_ext(gos_channel, number, 1, 0); + glk_schannel_play_ext(gos_channel, number, repeats, eos); glk_schannel_set_volume(gos_channel, vol); } |