sync to googlecode

This commit is contained in:
EkeEke 2012-10-15 10:45:24 +02:00
parent 54687cde58
commit 35461ff3c1
2 changed files with 7 additions and 7 deletions

View File

@ -99,15 +99,15 @@ void config_default(void)
config.psg_preamp = 150;
config.fm_preamp = 100;
config.hq_fm = 1;
config.psgBoostNoise = 0;
config.psgBoostNoise = 1;
config.filter = 0;
config.lp_range = 50;
config.lp_range = 60;
config.low_freq = 880;
config.high_freq = 5000;
config.lg = 1.0;
config.mg = 1.0;
config.hg = 1.0;
config.dac_bits = 14;
config.dac_bits = 14;
config.ym2413 = 2; /* AUTO */
/* system options */

View File

@ -903,11 +903,11 @@ static void soundmenu ()
config.psg_preamp = (int)(psg_volume * 100.0 + 0.5);
if ((system_hw & SYSTEM_PBC) == SYSTEM_MD)
{
SN76489_Config(config.psg_preamp, config.psgBoostNoise, 0xff);
SN76489_Config(0, config.psg_preamp, config.psgBoostNoise, 0xff);
}
else
{
SN76489_Config(config.psg_preamp, config.psgBoostNoise, io_reg[6]);
SN76489_Config(0, config.psg_preamp, config.psgBoostNoise, io_reg[6]);
}
break;
}
@ -918,11 +918,11 @@ static void soundmenu ()
sprintf (items[5].text, "PSG Noise Boost: %s", config.psgBoostNoise ? "ON":"OFF");
if ((system_hw & SYSTEM_PBC) == SYSTEM_MD)
{
SN76489_Config(config.psg_preamp, config.psgBoostNoise, 0xff);
SN76489_Config(0, config.psg_preamp, config.psgBoostNoise, 0xff);
}
else
{
SN76489_Config(config.psg_preamp, config.psgBoostNoise, io_reg[6]);
SN76489_Config(0, config.psg_preamp, config.psgBoostNoise, io_reg[6]);
}
break;
}