OpenTyrian:

- uSDL_Delay is no longer needed.

git-svn-id: svn://kolibrios.org@9212 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
turbocat 2021-10-04 17:20:11 +00:00
parent d26508bea9
commit 66c02372de

View File

@ -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);
} }