ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/SDL/video_sdl.cpp
(Generate patch)

Comparing BasiliskII/src/SDL/video_sdl.cpp (file contents):
Revision 1.25 by gbeauche, 2006-05-11T07:51:32Z vs.
Revision 1.26 by gbeauche, 2006-05-13T16:58:44Z

# Line 2246 | Line 2246 | static int redraw_func(void *arg)
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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines