aboutsummaryrefslogtreecommitdiff
path: root/sdl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sdl.cpp')
-rw-r--r--sdl.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/sdl.cpp b/sdl.cpp
index dbceaacd31..8f255dab63 100644
--- a/sdl.cpp
+++ b/sdl.cpp
@@ -137,8 +137,10 @@ void waitForTimer(Scumm *s, int delay) {
}
}
- if (!(s->_fastMode&2))
+ if (!(s->_fastMode&2)) {
+ assert(delay<500);
SDL_Delay(delay*10);
+ }
}
#define MAX_DIRTY_RECTS 40