aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorathrxx2011-05-07 16:44:43 +0200
committerWillem Jan Palenstijn2011-05-17 20:36:31 +0200
commit8fb5906117c67f4265e868b33aa343698bceac73 (patch)
tree2681724f8da5efa21092f89981431a1acf446ade /engines
parent90a300d86cf25ddaa15b8080f3551076a4f6e3ee (diff)
downloadscummvm-rg350-8fb5906117c67f4265e868b33aa343698bceac73.tar.gz
scummvm-rg350-8fb5906117c67f4265e868b33aa343698bceac73.tar.bz2
scummvm-rg350-8fb5906117c67f4265e868b33aa343698bceac73.zip
FM-TOWNS AUDIO: Some midi code fixes and some renaming
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/sound_towns.cpp2
-rw-r--r--engines/scumm/player_towns.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/sound_towns.cpp b/engines/kyra/sound_towns.cpp
index 5f4e5a55d0..9a9892c9a4 100644
--- a/engines/kyra/sound_towns.cpp
+++ b/engines/kyra/sound_towns.cpp
@@ -338,7 +338,7 @@ void SoundTowns::playEuphonyTrack(uint32 offset, int loop) {
for (int i = 0; i < 32; i++)
_driver->configChan_adjustVolume(i, *src++);
for (int i = 0; i < 32; i++)
- _driver->configChan_setDetune(i, *src++);
+ _driver->configChan_setTranspose(i, *src++);
src = _musicTrackData + 1748;
for (int i = 0; i < 6; i++)
diff --git a/engines/scumm/player_towns.cpp b/engines/scumm/player_towns.cpp
index f3b790ae97..5d49478cb0 100644
--- a/engines/scumm/player_towns.cpp
+++ b/engines/scumm/player_towns.cpp
@@ -508,7 +508,7 @@ void Player_Towns_v1::playEuphonyTrack(int sound, const uint8 *data) {
for (int i = 0; i < 32; i++)
_driver->configChan_adjustVolume(i, *src++);
for (int i = 0; i < 32; i++)
- _driver->configChan_setDetune(i, *src++);
+ _driver->configChan_setTranspose(i, *src++);
src += 8;
for (int i = 0; i < 6; i++)