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