Search
lxdream.org :: lxdream/src/eventq.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/eventq.c
changeset 1187:266e7a1bae90
prev1119:45602839e067
author nkeynes
date Tue Nov 29 17:52:43 2011 +1000 (10 years ago)
permissions -rw-r--r--
last change Refactor event processing into sh4_handle_pending_events()
file annotate diff log raw
1.1 --- a/src/eventq.c Fri Sep 10 08:48:34 2010 +1000
1.2 +++ b/src/eventq.c Tue Nov 29 17:52:43 2011 +1000
1.3 @@ -60,12 +60,12 @@
1.4 {
1.5 if( event_head == NULL ) {
1.6 if( !(sh4r.event_types & PENDING_IRQ) ) {
1.7 - sh4r.event_pending = NOT_SCHEDULED;
1.8 + sh4_set_event_pending(NOT_SCHEDULED);
1.9 }
1.10 sh4r.event_types &= (~PENDING_EVENT);
1.11 } else {
1.12 if( !(sh4r.event_types & PENDING_IRQ) ) {
1.13 - sh4r.event_pending = event_head->nanosecs;
1.14 + sh4_set_event_pending(event_head->nanosecs);
1.15 }
1.16 sh4r.event_types |= PENDING_EVENT;
1.17 }
.