aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorathrxx2019-05-18 00:27:42 +0200
committerathrxx2019-07-17 17:38:26 +0200
commitd988e40e259871d8f9a6e36016b99d68a6167fcc (patch)
treee5eeb5f860b24f0641e2883604d5b3858e2b929d /engines
parentea9e7df0a8664a49e2ae572864ee70eccbfb06c9 (diff)
downloadscummvm-rg350-d988e40e259871d8f9a6e36016b99d68a6167fcc.tar.gz
scummvm-rg350-d988e40e259871d8f9a6e36016b99d68a6167fcc.tar.bz2
scummvm-rg350-d988e40e259871d8f9a6e36016b99d68a6167fcc.zip
SCI: (PC98 audio driver) - base tempo correction
(somewhat difficult to make out any difference, but it does affect the envelope processing)
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/sound/drivers/pc9801.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/sound/drivers/pc9801.cpp b/engines/sci/sound/drivers/pc9801.cpp
index fe7d5bf7ba..824c4c9428 100644
--- a/engines/sci/sound/drivers/pc9801.cpp
+++ b/engines/sci/sound/drivers/pc9801.cpp
@@ -1343,6 +1343,7 @@ int MidiDriver_PC9801::open() {
return MERR_CANNOT_CONNECT;
_pc98a->setSoundEffectChanMask(0);
_pc98a->ssgSetVolume(205);
+ _pc98a->writeReg(0, 0x26, 256 - _baseTempo / 288);
_ready = true;
}