From 09f3d11cc18cc6c1bdf8a9de178e33de8e03ed96 Mon Sep 17 00:00:00 2001 From: athrxx Date: Sat, 18 May 2019 00:27:42 +0200 Subject: SCI: (PC98 audio driver) - base tempo correction (somewhat difficult to make out any difference, but it does affect the envelope processing) --- engines/sci/sound/drivers/pc9801.cpp | 1 + 1 file changed, 1 insertion(+) 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; } -- cgit v1.2.3