--- a/src/pvr2/pvr2.c Fri Dec 23 11:44:55 2005 +0000 +++ b/src/pvr2/pvr2.c Sun Dec 25 01:28:39 2005 +0000 @@ -10,7 +10,7 @@ char *video_base; void pvr2_init( void ); -void pvr2_run_slice( int ); +int pvr2_run_slice( int ); void pvr2_next_frame( void ); struct dreamcast_module pvr2_module = { "PVR2", pvr2_init, NULL, NULL, @@ -26,13 +26,14 @@ uint32_t pvr2_time_counter = 0; uint32_t pvr2_time_per_frame = 20000; -void pvr2_run_slice( int microsecs ) +int pvr2_run_slice( int microsecs ) { pvr2_time_counter += microsecs; if( pvr2_time_counter >= pvr2_time_per_frame ) { pvr2_next_frame(); pvr2_time_counter -= pvr2_time_per_frame; } + return microsecs; } uint32_t vid_stride, vid_lpf, vid_ppl, vid_hres, vid_vres, vid_col;