forked from KolibriOS/kolibrios
OpenTyrian:
- uSDL_Delay is no longer needed. git-svn-id: svn://kolibrios.org@9212 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
d26508bea9
commit
66c02372de
@ -46,8 +46,5 @@ void uSDL_SetWinCenter(unsigned w, unsigned h){
|
|||||||
|
|
||||||
|
|
||||||
void uSDL_Delay(unsigned ms){
|
void uSDL_Delay(unsigned ms){
|
||||||
unsigned start = SDL_GetTicks();
|
SDL_Delay(ms);
|
||||||
do{
|
|
||||||
asm_inline("int $0x40" :: "a"(5),"b"(1));
|
|
||||||
}while (SDL_GetTicks()-start < ms);
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user