diff options
-rw-r--r-- | sky/intro.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sky/intro.cpp b/sky/intro.cpp index 84293e9582..2d1ced19b4 100644 --- a/sky/intro.cpp +++ b/sky/intro.cpp @@ -884,7 +884,11 @@ bool SkyIntro::escDelay(uint32 msecs) { return false; } } +#ifdef _WIN32_WCE + uint8 nDelay = (msecs > 15)?(15):((uint8)msecs); +#else uint8 nDelay = (msecs > 50)?(50):((uint8)msecs); +#endif _system->delay_msecs(nDelay); msecs -= nDelay; } while (msecs > 0); |