From 19dedf5b3035a4d0023e37cc95fb7244be97364a Mon Sep 17 00:00:00 2001 From: dinkc64 <12570148+dinkc64@users.noreply.github.com> Date: Thu, 22 Jan 2015 20:44:01 +0000 Subject: [PATCH] d_dec8.cpp, sprite flickering fix for The Real Ghostbusters --- src/burn/drv/dataeast/d_dec8.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/burn/drv/dataeast/d_dec8.cpp b/src/burn/drv/dataeast/d_dec8.cpp index bcd9e15e6..eab0ce7d5 100644 --- a/src/burn/drv/dataeast/d_dec8.cpp +++ b/src/burn/drv/dataeast/d_dec8.cpp @@ -1645,7 +1645,7 @@ static INT32 DrvFrame() } } - INT32 nInterleave = 32; + INT32 nInterleave = 256; INT32 nCyclesTotal[2] = { 12000000 / 58, 1500000 / 58 }; // INT32 nCyclesDone[2] = { 0, 0 }; @@ -1656,8 +1656,8 @@ static INT32 DrvFrame() for (INT32 i = 0; i < nInterleave; i++) { - if (i == 1) vblank = 0; - if (i == 31) { + if (i == 8) vblank = 0; + if (i == 254) { vblank = 8; ghostb_interrupt(); } @@ -3708,7 +3708,7 @@ static INT32 GondoScan(INT32 nAction, INT32 *pnMin) SCAN_VAR(RomBank); if (nAction & ACB_WRITE) { - HD6309Open(0); bprintf(0, _T("bank [%d],"), RomBank); + HD6309Open(0); HD6309MapMemory(DrvMainROM + 0x10000 + RomBank, 0x4000, 0x7fff, HD6309_ROM); HD6309Close(); }