2246 |
|
return 0; |
2247 |
|
} |
2248 |
|
#endif |
2249 |
+ |
|
2250 |
+ |
|
2251 |
+ |
/* |
2252 |
+ |
* Record dirty area from NQD |
2253 |
+ |
*/ |
2254 |
+ |
|
2255 |
+ |
#ifdef SHEEPSHAVER |
2256 |
+ |
void video_set_dirty_area(int x, int y, int w, int h) |
2257 |
+ |
{ |
2258 |
+ |
const VIDEO_MODE &mode = drv->mode; |
2259 |
+ |
const int screen_width = VIDEO_MODE_X; |
2260 |
+ |
const int screen_height = VIDEO_MODE_Y; |
2261 |
+ |
const int bytes_per_row = VIDEO_MODE_ROW_BYTES; |
2262 |
+ |
|
2263 |
+ |
#ifdef ENABLE_VOSF |
2264 |
+ |
if (use_vosf) { |
2265 |
+ |
vosf_set_dirty_area(x, y, w, h, screen_width, bytes_per_row); |
2266 |
+ |
return; |
2267 |
+ |
} |
2268 |
+ |
#endif |
2269 |
+ |
|
2270 |
+ |
// XXX handle dirty bounding boxes for non-VOSF modes |
2271 |
+ |
} |
2272 |
+ |
#endif |