AUDIO: (FM-TOWNS/PC-98) - adapt mutex handling to latest mixer code changes

This commit is contained in:
athrxx 2021-06-24 23:58:17 +02:00
parent 9d115be9eb
commit a370d45d98
2 changed files with 2 additions and 2 deletions

View file

@ -948,7 +948,7 @@ void TownsPC98_FmSynthPercussionSource::advanceInput(RhtChannel *ins) {
#endif // DISABLE_PC98_RHYTHM_CHANNEL
TownsPC98_FmSynth::TownsPC98_FmSynth(Audio::Mixer *mixer, EmuType type) :
_mixer(mixer),
_mixer(mixer), _mutex(mixer->mutex()),
_chanInternal(0), _ssg(0),
#ifndef DISABLE_PC98_RHYTHM_CHANNEL
_prc(0),

View file

@ -113,7 +113,7 @@ protected:
const int _numSSG;
const bool _hasPercussion;
Common::Mutex _mutex;
Common::Mutex &_mutex;
int _mixerThreadLockCounter;
private: