Search
lxdream.org :: lxdream/src/sh4/sh4core.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4core.c
changeset 617:476a717a54f3
prev587:739a3136f269
next626:a010e30a30e9
author nkeynes
date Tue Jan 29 10:39:56 2008 +0000 (12 years ago)
permissions -rw-r--r--
last change Start getting SLEEP into order
file annotate diff log raw
1.1 --- a/src/sh4/sh4core.c Wed Jan 16 09:35:30 2008 +0000
1.2 +++ b/src/sh4/sh4core.c Tue Jan 29 10:39:56 2008 +0000
1.3 @@ -45,10 +45,7 @@
1.4 sh4r.slice_cycle = 0;
1.5
1.6 if( sh4r.sh4_state != SH4_STATE_RUNNING ) {
1.7 - if( sh4r.event_pending < nanosecs ) {
1.8 - sh4r.sh4_state = SH4_STATE_RUNNING;
1.9 - sh4r.slice_cycle = sh4r.event_pending;
1.10 - }
1.11 + sh4_sleep_run_slice(nanosecs);
1.12 }
1.13
1.14 if( sh4_breakpoint_count == 0 ) {
.