diff options
author | Nicolas Bacca | 2003-08-06 23:49:50 +0000 |
---|---|---|
committer | Nicolas Bacca | 2003-08-06 23:49:50 +0000 |
commit | 7d19b486709a0fe940dbb903cf65388702086106 (patch) | |
tree | 7481d6163da08cf70f9e39f07ac1d27eea537090 | |
parent | 1c1fd05a72e0afd5706e79f9862e7744697f4a17 (diff) | |
download | scummvm-rg350-7d19b486709a0fe940dbb903cf65388702086106.tar.gz scummvm-rg350-7d19b486709a0fe940dbb903cf65388702086106.tar.bz2 scummvm-rg350-7d19b486709a0fe940dbb903cf65388702086106.zip |
Fix intro timing on WinCE ... guess everybody could use it but I'll leave the engine mainteners decide :p
svn-id: r9583
-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); |