diff options
-rw-r--r-- | sky/control.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sky/control.cpp b/sky/control.cpp index 44230cdef5..7041d81a00 100644 --- a/sky/control.cpp +++ b/sky/control.cpp @@ -1527,7 +1527,6 @@ void Control::delay(unsigned int amount) { } } -#ifndef __PALM_OS__ uint this_delay = 20; // 1? #ifdef _WIN32_WCE this_delay = 10; @@ -1536,7 +1535,7 @@ void Control::delay(unsigned int amount) { this_delay = amount; if (this_delay > 0) _system->delayMillis(this_delay); -#endif + cur = _system->getMillis(); } while (cur < start + amount); } |