2557 |
|
|
2558 |
|
void video_set_dirty_area(int x, int y, int w, int h) |
2559 |
|
{ |
2560 |
< |
// TBD |
2560 |
> |
VideoInfo const & mode = VModes[cur_mode]; |
2561 |
> |
const int screen_width = VIDEO_MODE_X; |
2562 |
> |
const int screen_height = VIDEO_MODE_Y; |
2563 |
> |
const int bytes_per_row = VIDEO_MODE_ROW_BYTES; |
2564 |
> |
|
2565 |
> |
#ifdef ENABLE_VOSF |
2566 |
> |
if (use_vosf) { |
2567 |
> |
vosf_set_dirty_area(x, y, w, h, screen_width, screen_height, bytes_per_row); |
2568 |
> |
return; |
2569 |
> |
} |
2570 |
> |
#endif |
2571 |
> |
|
2572 |
> |
// XXX handle dirty bounding boxes for non-VOSF modes |
2573 |
|
} |