aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorathrxx2019-05-18 00:27:42 +0200
committerathrxx2019-06-21 13:35:34 +0200
commit09f3d11cc18cc6c1bdf8a9de178e33de8e03ed96 (patch)
treed7ee4400827c7e03d5b34376984aeb79369a63eb
parent6611a1c289aa18c4c4bea93be39eb19b7364f104 (diff)
downloadscummvm-rg350-09f3d11cc18cc6c1bdf8a9de178e33de8e03ed96.tar.gz
scummvm-rg350-09f3d11cc18cc6c1bdf8a9de178e33de8e03ed96.tar.bz2
scummvm-rg350-09f3d11cc18cc6c1bdf8a9de178e33de8e03ed96.zip
SCI: (PC98 audio driver) - base tempo correction
(somewhat difficult to make out any difference, but it does affect the envelope processing)
-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;
}