Rev 5131 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5131 | Rev 6356 | ||
---|---|---|---|
Line 29... | Line 29... | ||
29 | #include |
29 | #include |
30 | #include |
30 | #include |
31 | #include |
31 | #include |
32 | #include |
32 | #include |
33 | #include |
33 | #include |
- | 34 | #include |
|
Line 34... | Line 35... | ||
34 | 35 | ||
35 | #include "SDL_error.h" |
36 | #include "SDL_error.h" |
36 | #include "SDL_timer.h" |
37 | #include "SDL_timer.h" |
Line 86... | Line 87... | ||
86 | return (curtime-starttime)*10; |
87 | return (curtime-starttime)*10; |
87 | } |
88 | } |
Line 88... | Line 89... | ||
88 | 89 | ||
89 | void SDL_Delay (Uint32 ms) |
90 | void SDL_Delay (Uint32 ms) |
90 | { |
91 | { |
91 | __menuet__delay100(ms); |
92 | delay(ms * 100); |
92 | /* Uint32 start = SDL_GetTicks(); |
93 | /* Uint32 start = SDL_GetTicks(); |
93 | do |
94 | do |
94 | __asm__("int $0x40" :: "a"(68),"b"(1)); |
95 | __asm__("int $0x40" :: "a"(68),"b"(1)); |
95 | while (SDL_GetTicks()-start < ms);*/ |
96 | while (SDL_GetTicks()-start < ms);*/ |