mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Update m_anigif.c
More accurate GIF delay.
This commit is contained in:
parent
44c4534231
commit
67102cc829
1 changed files with 3 additions and 1 deletions
|
|
@ -492,7 +492,9 @@ static void GIF_framewrite(void)
|
|||
|
||||
// screen regions are handled in GIF_lzw
|
||||
{
|
||||
UINT16 delay = 3; // todo
|
||||
int d1 = (int)((100.0/NEWTICRATE)*gif_frames);
|
||||
int d2 = (int)((100.0/NEWTICRATE)*(gif_frames-1));
|
||||
UINT16 delay = d1-d2;
|
||||
INT32 startline;
|
||||
|
||||
WRITEMEM(p, gifframe_gchead, 4);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue