From 9de811fea4d80e8f9f32a863fbf127c91dafdc4f Mon Sep 17 00:00:00 2001 From: dinkc64 <12570148+dinkc64@users.noreply.github.com> Date: Thu, 27 Nov 2014 14:00:45 +0000 Subject: [PATCH] Operation Thunderbolt - fix: player gunshot sfx can only be heard through the left speaker --- src/burn/drv/taito/d_othunder.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/burn/drv/taito/d_othunder.cpp b/src/burn/drv/taito/d_othunder.cpp index cda84b664..7bd11ffbb 100644 --- a/src/burn/drv/taito/d_othunder.cpp +++ b/src/burn/drv/taito/d_othunder.cpp @@ -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);