--- BasiliskII/src/SDL/video_sdl.cpp 2009/03/03 08:14:53 1.38 +++ BasiliskII/src/SDL/video_sdl.cpp 2011/12/28 20:22:25 1.39 @@ -2327,12 +2327,12 @@ static int redraw_func(void *arg) #ifdef SHEEPSHAVER void video_set_dirty_area(int x, int y, int w, int h) { +#ifdef ENABLE_VOSF const VIDEO_MODE &mode = drv->mode; const int screen_width = VIDEO_MODE_X; const int screen_height = VIDEO_MODE_Y; const int bytes_per_row = VIDEO_MODE_ROW_BYTES; -#ifdef ENABLE_VOSF if (use_vosf) { vosf_set_dirty_area(x, y, w, h, screen_width, screen_height, bytes_per_row); return;