Rev 9169 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9169 | Rev 9212 | ||
---|---|---|---|
Line 44... | Line 44... | ||
44 | _ksys_change_window(new_x, new_y, -1, -1); |
44 | _ksys_change_window(new_x, new_y, -1, -1); |
45 | } |
45 | } |
Line 46... | Line 46... | ||
46 | 46 | ||
47 | - | ||
48 | void uSDL_Delay(unsigned ms){ |
- | |
49 | unsigned start = SDL_GetTicks(); |
- | |
50 | do{ |
47 | |
51 | asm_inline("int $0x40" :: "a"(5),"b"(1)); |
48 | void uSDL_Delay(unsigned ms){ |
52 | }while (SDL_GetTicks()-start < ms); |
49 | SDL_Delay(ms); |