SCUMM: Make Player_v3a frequency dependent on vm timer

This follows the exact same reasoning as a525b0f; tested with
V3 Amiga games and compared with Amiga recordings.
This commit is contained in:
AndywinXp 2023-05-30 18:00:35 +02:00 committed by Andrea Boscarino
parent 5cb4e7061f
commit 5f3a4e4ba3

View File

@ -27,7 +27,7 @@
namespace Scumm {
Player_V3A::Player_V3A(ScummEngine *scumm, Audio::Mixer *mixer)
: Paula(true, mixer->getOutputRate(), mixer->getOutputRate() / 60),
: Paula(true, mixer->getOutputRate(), mixer->getOutputRate() / (scumm->getTimerFrequency() / 4)),
_vm(scumm),
_mixer(mixer),
_soundHandle(),