Search
lxdream.org :: lxdream/src/eventq.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/eventq.c
changeset 1118:0c00e6594d01
prev1065:bc1cc0c54917
next1119:45602839e067
author nkeynes
date Wed Sep 08 23:16:47 2010 +1000 (11 years ago)
permissions -rw-r--r--
last change Fix timing of long events (failed to take into account the current time)
file annotate diff log raw
1.1 --- a/src/eventq.c Sun Jul 05 13:52:50 2009 +1000
1.2 +++ b/src/eventq.c Wed Sep 08 23:16:47 2010 +1000
1.3 @@ -180,7 +180,7 @@
1.4
1.5 event->id = eventid;
1.6 event->seconds = seconds;
1.7 - event->nanosecs = nanosecs;
1.8 + event->nanosecs = nanosecs + sh4r.slice_cycle + (LONG_SCAN_PERIOD - long_scan_time_remaining);
1.9 event->next = long_event_head;
1.10 long_event_head = event;
1.11 }
.