mirror of
https://github.com/libretro/mame2003-plus-libretro.git
synced 2024-11-23 16:29:44 +00:00
rollback to earlier today 10
This commit is contained in:
parent
00aab4a06a
commit
da281a6845
@ -1833,46 +1833,27 @@ static struct GfxDecodeInfo gfxdecodeinfo_digdug[] =
|
||||
{ -1 } /* end of array */
|
||||
};
|
||||
|
||||
/* The resistance path of the namco sound is 16k compared to
|
||||
the 10k of the highest gain 54xx filter. Giving a 10/16 gain.
|
||||
*/
|
||||
|
||||
|
||||
static struct namco_interface namco_interface =
|
||||
{
|
||||
18432000/6/32, /* 96 kHz sample rate */
|
||||
3, /* number of voices */
|
||||
90*10/16, /* playback volume */
|
||||
100, /* playback volume */
|
||||
REGION_SOUND1 /* memory region */
|
||||
};
|
||||
|
||||
/* Only used by bosco. After filtering the 4V 52xx output,
|
||||
* the signal is 1V, or 25%. The relative volume between
|
||||
* 52xx & 54xx is the same.
|
||||
*/
|
||||
|
||||
static struct namco_52xx_interface namco_52xx_interface =
|
||||
{
|
||||
18432000/12, /* 1.536 MHz */
|
||||
90, /* volume */
|
||||
REGION_SOUND2, /* memory region */
|
||||
4000, /* Playback frequency - from 555 timer 6M */
|
||||
80, /* High pass filter fc */
|
||||
0.3, /* High pass filter Q */
|
||||
2400, /* Low pass filter fc */
|
||||
0.9, /* Low pass filter Q */
|
||||
.25 /* Combined gain of both filters */
|
||||
50, /* volume */
|
||||
REGION_SOUND2 /* memory region */
|
||||
};
|
||||
|
||||
static struct namco_54xx_interface namco_54xx_interface =
|
||||
{
|
||||
18432000/12, /* 1.536 MHz */
|
||||
90, /* volume */
|
||||
{ RES_K(100), RES_K(47), RES_K(150) }, /* R24, R33, R42 */
|
||||
{ RES_K(22), RES_K(10), RES_K(22) }, /* R23, R34, R41 */
|
||||
{ RES_K(220), RES_K(150), RES_K(470) }, /* R22, R35, R40 */
|
||||
{ RES_K(33), RES_K(33), RES_K(10)}, /* R21, R36, R37 */
|
||||
{ CAP_U(.001), CAP_U(.01), CAP_U(.01) }, /* C31, C29, C27 */
|
||||
{ CAP_U(.001), CAP_U(.01), CAP_U(.01) }, /* C30, C28, C26 */
|
||||
18432000/12, /* 1.536 MHz */
|
||||
{ 100, 100, 100 } /* volume of the three outputs */
|
||||
};
|
||||
|
||||
static const char *bosco_sample_names[] =
|
||||
@ -1885,7 +1866,7 @@ static const char *bosco_sample_names[] =
|
||||
static struct Samplesinterface samples_interface_bosco =
|
||||
{
|
||||
1, /* 1 channel */
|
||||
95, /* volume */
|
||||
100, /* volume */
|
||||
bosco_sample_names
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user