diff options
author | Travis Howell | 2003-02-16 04:07:15 +0000 |
---|---|---|
committer | Travis Howell | 2003-02-16 04:07:15 +0000 |
commit | faa8170da720cef59859d1ed9f4b7e71880571e3 (patch) | |
tree | af947f82fa163d39203870d47b9a9d0982d53cb9 | |
parent | 1745e8b600581e542e4379cac9913b446865117f (diff) | |
download | scummvm-rg350-faa8170da720cef59859d1ed9f4b7e71880571e3.tar.gz scummvm-rg350-faa8170da720cef59859d1ed9f4b7e71880571e3.tar.bz2 scummvm-rg350-faa8170da720cef59859d1ed9f4b7e71880571e3.zip |
Add example simon2dos/talkie music code
svn-id: r6610
-rw-r--r-- | simon/simon.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp index 8dcfaaa3b8..bcf49eba74 100644 --- a/simon/simon.cpp +++ b/simon/simon.cpp @@ -5129,10 +5129,13 @@ void SimonState::playMusic(uint music_unk, uint music) midi.shutdown(); _game_file->seek(_game_offsets_ptr[gss->MUSIC_INDEX_BASE + music - 1], SEEK_SET); midi.read_all_songs(_game_file, music); - _midi_unk1 = music; } else { /* TODO Add XMI midi format support for simon2dos/talkie */ + //midi.shutdown(); + //_game_file->seek(_game_offsets_ptr[gss->MUSIC_INDEX_BASE + music - 1], SEEK_SET); + //midi.read_xmi_songs(_game_file, music); } + _midi_unk1 = music; _vc72_var1 = music_unk; _vc70_var1 = 0xFFFF; _vc72_var3 = 0xFFFF; |