galaga: sample tweak, puckman: timing tweak (improves input)

This commit is contained in:
dinkc64 2015-08-06 03:55:26 +00:00
parent b557935ae8
commit ff5ba3e93e
2 changed files with 4 additions and 4 deletions

View File

@ -1155,7 +1155,7 @@ static void MachineInit()
NamcoSoundInit(18432000 / 6 / 32, 3);
NacmoSoundSetAllRoutes(0.90 * 10.0 / 16.0, BURN_SND_ROUTE_BOTH);
BurnSampleInit(1);
BurnSampleSetAllRoutesAllSamples(0.35, BURN_SND_ROUTE_BOTH);
BurnSampleSetAllRoutesAllSamples(0.25, BURN_SND_ROUTE_BOTH);
bHasSamples = BurnSampleGetStatus(0) != -1;
GenericTilesInit();

View File

@ -2687,7 +2687,7 @@ static INT32 DrvFrame()
ZetOpen(0);
INT32 nInterleave = nBurnSoundLen;
INT32 nInterleave = 264; //nBurnSoundLen;
INT32 nSoundBufferPos = 0;
INT32 nCyclesTotal = (18432000 / 6) / 60;
@ -2710,9 +2710,9 @@ static INT32 DrvFrame()
if (game_select == DREMSHPR || game_select == VANVAN) {
if (i == (nInterleave - 1)) ZetNmi();
} else {
if (i == (nInterleave - 1) && interrupt_mask) {
if (i == 224 /*(nInterleave - 1)*/ && interrupt_mask) {
ZetSetVector(interrupt_mode);
ZetSetIRQLine(0, CPU_IRQSTATUS_AUTO);
ZetSetIRQLine(0, CPU_IRQSTATUS_HOLD);
}
}
}