aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFlorian Kagerer2008-11-16 20:59:04 +0000
committerFlorian Kagerer2008-11-16 20:59:04 +0000
commitbf721ae68270c51a0a4cd5b2f4e5460942757acf (patch)
tree44d7d8a10cb3f617d82693b97ec88678d35a28ff /engines
parentb45227cfa0d3f025cae1c14afe21699f881c518e (diff)
downloadscummvm-rg350-bf721ae68270c51a0a4cd5b2f4e5460942757acf.tar.gz
scummvm-rg350-bf721ae68270c51a0a4cd5b2f4e5460942757acf.tar.bz2
scummvm-rg350-bf721ae68270c51a0a4cd5b2f4e5460942757acf.zip
cleanup
svn-id: r35101
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/sound_towns.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/sound_towns.cpp b/engines/kyra/sound_towns.cpp
index 60ff20ef60..7d802c8993 100644
--- a/engines/kyra/sound_towns.cpp
+++ b/engines/kyra/sound_towns.cpp
@@ -3031,12 +3031,12 @@ void TownsPC98_OpnCore::writeReg(uint8 part, uint8 regAddress, uint8 value) {
case 0x00:
// ssg
if (_ssg)
- _ssg->writeReg(regAddress, value);
+ _ssg->writeReg(l, value);
break;
case 0x10:
// pcm rhythm channel
if (_prc)
- _prc->writeReg(regAddress - 0x10, value);
+ _prc->writeReg(l, value);
break;
case 0x20:
if (l == 8) {