aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/dc/input.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/dc/input.cpp b/backends/dc/input.cpp
index 9505f22983..f491c07869 100644
--- a/backends/dc/input.cpp
+++ b/backends/dc/input.cpp
@@ -149,6 +149,8 @@ bool OSystem_Dreamcast::poll_event(Event *event)
if(((int)(t-_devpoll))<0)
return false;
_devpoll += USEC_TO_TIMER(17000);
+ if(((int)(t-_devpoll))>=0)
+ _devpoll = t + USEC_TO_TIMER(17000);
int mask = getimask();
setimask(15);
checkSound();