SDL_GetTicks() => GFX2_GetTicks()

Signed-off-by: Thomas Bernard <miniupnp@free.fr>
This commit is contained in:
Thomas Bernard
2018-05-28 12:31:42 +02:00
parent a6c948b27e
commit fb51c1bb1c
12 changed files with 80 additions and 49 deletions

View File

@@ -338,7 +338,7 @@ void Tilemap_update(void)
if (wait_window)
{
char str[8];
Uint32 end;
dword end;
if (Config.Tilemap_show_count)
{
@@ -349,11 +349,11 @@ void Tilemap_update(void)
Display_cursor();
// Wait a moment to display count
end = SDL_GetTicks()+750;
end = GFX2_GetTicks()+750;
do
{
Get_input(20);
} while (SDL_GetTicks()<end);
} while (GFX2_GetTicks()<end);
}
Close_window();