mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-02-21 03:11:24 +00:00
Update m_anigif.c
Remember gif_frames starts at 0
This commit is contained in:
parent
d26ba2ee54
commit
4ada0b0a9e
1 changed files with 2 additions and 2 deletions
|
@ -492,8 +492,8 @@ static void GIF_framewrite(void)
|
|||
|
||||
// screen regions are handled in GIF_lzw
|
||||
{
|
||||
int d1 = (int)((100.0/NEWTICRATE)*gif_frames);
|
||||
int d2 = (int)((100.0/NEWTICRATE)*(gif_frames-1));
|
||||
int d1 = (int)((100.0/NEWTICRATE)*gif_frames+1);
|
||||
int d2 = (int)((100.0/NEWTICRATE)*(gif_frames));
|
||||
UINT16 delay = d1-d2;
|
||||
INT32 startline;
|
||||
|
||||
|
|
Loading…
Reference in a new issue