blades of steel tweaks: fix fighting sequence (not enough cycles), lower psg volume until filters hooked up. awesome game!

This commit is contained in:
dinkc64 2015-01-15 22:17:01 +00:00
parent ea530844d7
commit 73b61d6f06
1 changed files with 3 additions and 2 deletions

View File

@ -450,6 +450,7 @@ static INT32 DrvInit()
BurnYM2203SetPorts(0, NULL, NULL, &bladestl_ym2203_write_portA, &bladestl_ym2203_write_portB);
BurnTimerAttachM6809(2000000);
BurnYM2203SetAllRoutes(0, 0.45, BURN_SND_ROUTE_BOTH);
BurnYM2203SetPSGVolume(0, 0.35); // when filters get hooked up, remove this line.
// needs filters hooked up
@ -545,7 +546,7 @@ static INT32 DrvFrame()
}
INT32 nInterleave = 256;
INT32 nCyclesTotal[2] = { 2000000 / 60, 2000000 / 60 };
INT32 nCyclesTotal[2] = { 6000000 / 60, 2000000 / 60 };
HD6309Open(0);
M6809Open(0);
@ -558,7 +559,7 @@ static INT32 DrvFrame()
if (i == 240 && K007342_irq_enabled()) HD6309SetIRQLine(1, HD6309_IRQSTATUS_AUTO); // firq
BurnTimerUpdate(i * (nCyclesTotal[1] / nInterleave));
BurnTimerUpdate((i + 1) * (nCyclesTotal[1] / nInterleave));
}
BurnTimerEndFrame(nCyclesTotal[1]);