mirror of
https://github.com/libretro/FBNeo.git
synced 2025-03-09 04:43:17 +00:00
decocass, btime, wardner: set to correct hz refereshrate
This commit is contained in:
parent
7bc0dc24a7
commit
db193e5277
@ -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;
|
||||
|
||||
|
@ -1332,6 +1332,8 @@ static INT32 MemIndex()
|
||||
|
||||
static INT32 DrvDoReset()
|
||||
{
|
||||
BurnSetRefreshRate(57.44);
|
||||
|
||||
memset (AllRam, 0, RamEnd - AllRam);
|
||||
|
||||
M6502Open(0);
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user