vaportrail fix

This commit is contained in:
dinkc64 2014-12-19 05:57:28 +00:00
parent 6019df2c16
commit e4d75d0e10
1 changed files with 4 additions and 3 deletions

View File

@ -554,7 +554,10 @@ static INT32 DrvFrame()
nCyclesDone[0] += SekRun(nCyclesTotal[0] / nInterleave);
nCyclesDone[1] += h6280Run(nCyclesTotal[1] / nInterleave);
if (i == 206) deco16_vblank = 0x08;
if (i == 206) {
deco16_vblank = 0x08;
SekSetIRQLine(6, SEK_IRQSTATUS_AUTO);
}
INT32 nSegmentLength = nBurnSoundLen / nInterleave;
INT16* pSoundBuf = SoundBuffer + (nSoundBufferPos << 1);
@ -562,8 +565,6 @@ static INT32 DrvFrame()
nSoundBufferPos += nSegmentLength;
}
SekSetIRQLine(6, SEK_IRQSTATUS_AUTO);
BurnTimerEndFrame(nCyclesTotal[1]);
if (pBurnSoundOut) {