decocass, btime, wardner: set to correct hz refereshrate

This commit is contained in:
dinkc64 2018-10-06 22:46:30 +00:00
parent 7bc0dc24a7
commit db193e5277
3 changed files with 7 additions and 1 deletions

View File

@ -2693,6 +2693,8 @@ static INT32 DecocassGetRoms()
static INT32 DecocassInit(UINT8 (*read)(UINT16),void (*write)(UINT16,UINT8))
{
BurnSetRefreshRate(57.44);
prot_write = write;
prot_read = read;

View File

@ -1332,6 +1332,8 @@ static INT32 MemIndex()
static INT32 DrvDoReset()
{
BurnSetRefreshRate(57.44);
memset (AllRam, 0, RamEnd - AllRam);
M6502Open(0);

View File

@ -727,6 +727,8 @@ static INT32 LoadNibbles(UINT8 *dst, INT32 idx, INT32 len)
static INT32 DrvInit()
{
BurnSetRefreshRate(54.87);
GenericTilesInit();
AllMem = NULL;
@ -994,7 +996,7 @@ static INT32 DrvFrame()
}
INT32 nInterleave = 286;
INT32 nCyclesTotal[3] = { 6000000 / 60, 3500000 / 60, 14000000 / 60 };
INT32 nCyclesTotal[3] = { (INT32)((double)6000000 / 54.87), (INT32)((double)3500000 / 54.87), (INT32)((double)14000000 / 54.87) };
INT32 nCyclesDone[3] = { 0, 0, 0 };
vblank = 0;