Fix typo, global access when global is passed as param

This commit is contained in:
YoshiRulz 2020-11-30 19:15:41 +10:00
parent 453ea2b1bb
commit 4e38028b49
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ namespace BizHawk.Client.EmuHawk
if (OSTailoredCode.IsUnixHost)
{
// if DirectSound or XAudio is chosen, use OpenAL, otherwise comply with the user's choice
_outputDevice = GlobalWin.Config.SoundOutputMethod == ESoundOutputMethod.Dummy
_outputDevice = soundOutputMethod == ESoundOutputMethod.Dummy
? (ISoundOutput) new DummySoundOutput(this)
: new OpenALSoundOutput(this, soundDevice);
}