Subversion Repositories Kolibri OS

Rev

Rev 9211 | Rev 9785 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9211 Rev 9288
Line 31... Line 31...
31
#include 
31
#include 
Line 32... Line 32...
32
 
32
 
33
#include "SDL_error.h"
33
#include "SDL_error.h"
34
#include "SDL_timer.h"
34
#include "SDL_timer.h"
35
#include "SDL_timer_c.h"
35
#include "SDL_timer_c.h"
Line 36... Line 36...
36
#include "SDL_kos.h"
36
#include "kos32sys.h"
37
 
37
 
38
#if _POSIX_THREAD_SYSCALL_SOFT
38
#if _POSIX_THREAD_SYSCALL_SOFT
Line 86... Line 86...
86
}
86
}
Line 87... Line 87...
87
 
87
 
88
void SDL_Delay(unsigned ms){
88
void SDL_Delay(unsigned ms){
89
    unsigned start = SDL_GetTicks();
89
    unsigned start = SDL_GetTicks();
90
    do{
90
    do{
91
       __kos__delay100(1);
91
       delay(1);
92
    }while (SDL_GetTicks()-start < ms);
92
    }while (SDL_GetTicks()-start < ms);
Line 93... Line 93...
93
}
93
}
94
 
94