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 Fri Mar 02 23:49:10 2012 +1000 (8 years ago)
permissions -rw-r--r--
last change Android WIP:
* Rename gui_jni.c to gui_android.c - now quite android specific.
* Implement generic EGL driver with very minimal Java wrapper
* Run emulation in separate thread, and implement simple queue for
inter-thread communication.
* Add menu/action-bar items for start + reset
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 Fri Mar 02 23:49:10 2012 +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 }
.