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.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.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.25 dreamcast_state = STATE_STOPPED;
1.29 void dreamcast_stop( void )