Search
lxdream.org :: lxdream/src/dreamcast.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/dreamcast.c
changeset 27:1ef09a52cd1e
prev26:ad258e3daaa5
next30:89b30313d757
author nkeynes
date Sun Dec 25 04:54:40 2005 +0000 (18 years ago)
permissions -rw-r--r--
last change Set disasm PC on startup
file annotate diff log raw
1.1 --- a/src/dreamcast.c Sat Dec 24 08:02:18 2005 +0000
1.2 +++ b/src/dreamcast.c Sun Dec 25 04:54:40 2005 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: dreamcast.c,v 1.9 2005-12-24 08:02:14 nkeynes Exp $
1.6 + * $Id: dreamcast.c,v 1.10 2005-12-25 01:28:36 nkeynes Exp $
1.7 * Central switchboard for the system. This pulls all the individual modules
1.8 * together into some kind of coherent structure. This is also where you'd
1.9 * add Naomi support, if I ever get a board to play with...
1.10 @@ -111,9 +111,10 @@
1.11 }
1.12 dreamcast_state = STATE_RUNNING;
1.13 while( dreamcast_state == STATE_RUNNING ) {
1.14 + int time_to_run = timeslice_length;
1.15 for( i=0; i<num_modules; i++ ) {
1.16 if( modules[i]->run_time_slice != NULL )
1.17 - modules[i]->run_time_slice( timeslice_length );
1.18 + time_to_run = modules[i]->run_time_slice( time_to_run );
1.19 }
1.20
1.21 }
1.22 @@ -123,7 +124,6 @@
1.23 modules[i]->stop();
1.24 }
1.25 dreamcast_state = STATE_STOPPED;
1.26 - update_gui();
1.27 }
1.28
1.29 void dreamcast_stop( void )
.