/contrib/sdk/sources/SDL-1.2.2_newlib/src/timer/dummy/SDL_systimer.c |
---|
26,14 → 26,16 |
#endif |
#include <stdio.h> |
#include <time.h> |
#include <sys/time.h> |
#include <signal.h> |
#include <unistd.h> |
#include <string.h> |
#include <errno.h> |
#include <kos32sys.h> |
#include "SDL_error.h" |
#include "SDL_timer.h" |
#include "SDL_timer_c.h" |
#include "SDL_kos.h" |
#if _POSIX_THREAD_SYSCALL_SOFT |
#include <pthread.h> |
87,7 → 89,7 |
void SDL_Delay (Uint32 ms) |
{ |
__kos__delay100(ms); |
delay(ms); |
/* Uint32 start = SDL_GetTicks(); |
do |
__asm__("int $0x40" :: "a"(68),"b"(1)); |