mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-11-04 01:45:08 +01:00
fixed incorrect Game Gear PSG stereo emulation
This commit is contained in:
parent
35461ff3c1
commit
545b4dcf49
@ -325,8 +325,8 @@ void SN76489_Config(unsigned int clocks, int preAmp, int boostNoise, int stereo)
|
|||||||
for (i=0; i<4; i++)
|
for (i=0; i<4; i++)
|
||||||
{
|
{
|
||||||
/* stereo channel pre-amplification */
|
/* stereo channel pre-amplification */
|
||||||
SN76489.PreAmp[i][0] = preAmp * ((stereo >> (i*2)) & 1);
|
SN76489.PreAmp[i][0] = preAmp * ((stereo >> (i + 4)) & 1);
|
||||||
SN76489.PreAmp[i][1] = preAmp * ((stereo >> (i*2 + 1)) & 1);
|
SN76489.PreAmp[i][1] = preAmp * ((stereo >> (i + 0)) & 1);
|
||||||
|
|
||||||
/* noise channel boost */
|
/* noise channel boost */
|
||||||
if (i == 3)
|
if (i == 3)
|
||||||
|
Loading…
Reference in New Issue
Block a user