Operation Thunderbolt - fix: player gunshot sfx can only be heard through the left speaker

This commit is contained in:
dinkc64 2014-11-27 14:00:45 +00:00
parent 12a1990a37
commit 9de811fea4
1 changed files with 1 additions and 0 deletions

View File

@ -664,6 +664,7 @@ void __fastcall OthunderZ80Write(UINT16 a, UINT8 d)
rVol = OthunderPan[0] * 100 / 0x1f;
lVol = OthunderPan[1] * 100 / 0x1f;
if (rVol == 0) rVol = 100; // Fixes player gunshot can only be heard through the left speaker.
BurnYM2610SetLeftVolume(BURN_SND_YM2610_YM2610_ROUTE_1, OthunderYM2610Route1MasterVol * lVol / 100.0);
BurnYM2610SetRightVolume(BURN_SND_YM2610_YM2610_ROUTE_1, OthunderYM2610Route1MasterVol * rVol / 100.0);