aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorMarcus Comstedt2006-10-22 18:54:55 +0000
committerMarcus Comstedt2006-10-22 18:54:55 +0000
commit17afeaa80ee66836680953da0827fc47b0f00767 (patch)
tree53c732131866b0694e2f3eb208abee180c205767 /backends
parentdde7244f2da4bca4da095f22be5fe2840257b859 (diff)
downloadscummvm-rg350-17afeaa80ee66836680953da0827fc47b0f00767.tar.gz
scummvm-rg350-17afeaa80ee66836680953da0827fc47b0f00767.tar.bz2
scummvm-rg350-17afeaa80ee66836680953da0827fc47b0f00767.zip
delayMillis() should now cope with delays over 20 minutes without overflowing.
svn-id: r24456
Diffstat (limited to 'backends')
-rw-r--r--backends/platform/dc/time.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/dc/time.cpp b/backends/platform/dc/time.cpp
index 1912bed773..c3e664a1e3 100644
--- a/backends/platform/dc/time.cpp
+++ b/backends/platform/dc/time.cpp
@@ -48,7 +48,7 @@ void OSystem_Dreamcast::delayMillis(uint msecs)
{
getMillis();
unsigned int t, start = Timer();
- int time = (((unsigned int)msecs)*100000U)>>11;
+ int time = (((unsigned int)msecs)*3125U)>>6;
while(((int)((t = Timer())-start))<time) {
if(_timer != NULL)
_timer->handler();