Fix typo in Snes9x sound settings bitfield (fixes #1208)

This commit is contained in:
YoshiRulz 2022-05-07 14:40:15 +10:00
parent cb42e8c4dc
commit c93ceae462
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 8 additions and 8 deletions

View File

@ -273,14 +273,14 @@ namespace BizHawk.Emulation.Cores.Nintendo.SNES9X
{
_settings = o;
int s = 0;
if (o.PlaySound0) s |= 1;
if (o.PlaySound0) s |= 2;
if (o.PlaySound0) s |= 4;
if (o.PlaySound0) s |= 8;
if (o.PlaySound0) s |= 16;
if (o.PlaySound0) s |= 32;
if (o.PlaySound0) s |= 64;
if (o.PlaySound0) s |= 128;
if (o.PlaySound0) s |= 0b1;
if (o.PlaySound1) s |= 0b10;
if (o.PlaySound2) s |= 0b100;
if (o.PlaySound3) s |= 0b1000;
if (o.PlaySound4) s |= 0b10000;
if (o.PlaySound5) s |= 0b100000;
if (o.PlaySound6) s |= 0b1000000;
if (o.PlaySound7) s |= 0b10000000;
_core.biz_set_sound_channels(s);
int l = 0;
if (o.ShowBg0) l |= 1;