This commit is contained in:
dinkc64 2024-10-10 17:34:58 -04:00
commit 1ff2438e98

View File

@ -549,8 +549,8 @@ void deco32_z80_sound_init(UINT8 *rom, UINT8 *ram)
BurnYM2151SetRoute(BURN_SND_YM2151_YM2151_ROUTE_2, 0.40, BURN_SND_ROUTE_RIGHT);
BurnTimerAttachZet(3580000);
MSM6295Init(0, (32220000 / 32) / 132, 1);
MSM6295Init(1, (32220000 / 16) / 132, 1);
MSM6295Init(0, (32220000 / 32) / MSM6295_PIN7_HIGH, 1);
MSM6295Init(1, (32220000 / 16) / MSM6295_PIN7_HIGH, 1);
MSM6295SetRoute(0, 1.00, BURN_SND_ROUTE_BOTH);
MSM6295SetRoute(1, 0.25, BURN_SND_ROUTE_BOTH);
}
@ -1659,7 +1659,7 @@ static INT32 FghthistCommonInit(INT32 z80_sound, UINT32 speedhack)
else
{
use_z80 = 0;
deco16SoundInit(DrvHucROM, DrvHucRAM, 3580000, 0, DrvYM2151WritePort, 0.42, 1006875, 1.00, 2013750, 0.35);
deco16SoundInit(DrvHucROM, DrvHucRAM, 4027500, 0, DrvYM2151WritePort, 0.42, 1006875, 1.00, 2013750, 0.35);
BurnYM2151SetRoute(BURN_SND_YM2151_YM2151_ROUTE_1, 0.80, BURN_SND_ROUTE_LEFT);
BurnYM2151SetRoute(BURN_SND_YM2151_YM2151_ROUTE_2, 0.80, BURN_SND_ROUTE_RIGHT);
}
@ -1961,7 +1961,7 @@ static INT32 NslasherCommonInit(INT32 has_z80, UINT32 speedhack)
}
else
{
deco16SoundInit(DrvHucROM, DrvHucRAM, 3580000, 0, DrvYM2151WritePort, 0.42, 1006875, 1.00, 2013750, 0.25);
deco16SoundInit(DrvHucROM, DrvHucRAM, 4027500, 0, DrvYM2151WritePort, 0.42, 1006875, 1.00, 2013750, 0.25);
BurnYM2151SetRoute(BURN_SND_YM2151_YM2151_ROUTE_1, 0.80, BURN_SND_ROUTE_LEFT);
BurnYM2151SetRoute(BURN_SND_YM2151_YM2151_ROUTE_2, 0.80, BURN_SND_ROUTE_RIGHT);
}