summaryrefslogtreecommitdiff
path: root/apps/plugins/xobox.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/xobox.c')
-rw-r--r--apps/plugins/xobox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/xobox.c b/apps/plugins/xobox.c
index 3b7ada31f4..423322098a 100644
--- a/apps/plugins/xobox.c
+++ b/apps/plugins/xobox.c
@@ -1045,7 +1045,7 @@ static int xobox_loop (void)
1045 } 1045 }
1046 } 1046 }
1047 1047
1048 if (end > *rb->current_tick) 1048 if (TIME_BEFORE(*rb->current_tick, end))
1049 rb->sleep (end - *rb->current_tick); 1049 rb->sleep (end - *rb->current_tick);
1050 else 1050 else
1051 rb->yield (); 1051 rb->yield ();