diff options
Diffstat (limited to 'amiga/gui.c')
-rwxr-xr-x | amiga/gui.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/amiga/gui.c b/amiga/gui.c index 39f2d9f72..8f83f5609 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -3251,15 +3251,15 @@ void ami_do_redraw_tiled(struct gui_window_2 *gwin, //printf("%ld %ld %ld %ld\n",left, top, width, height); - for(y = top; y < (top + height); y += option_redraw_tile_size) { + for(y = top; y < (top + height); y += option_redraw_tile_size_y) { clip.y0 = 0; - clip.y1 = option_redraw_tile_size; - if(((top + height) - y) < option_redraw_tile_size) clip.y1 = (top + height) - y; + clip.y1 = option_redraw_tile_size_y; + if(((top + height) - y) < option_redraw_tile_size_y) clip.y1 = (top + height) - y; - for(x = left; x < (left + width); x += option_redraw_tile_size) { + for(x = left; x < (left + width); x += option_redraw_tile_size_x) { clip.x0 = 0; - clip.x1 = option_redraw_tile_size; - if(((left + width) - x) < option_redraw_tile_size) clip.x1 = (left + width) - x; + clip.x1 = option_redraw_tile_size_x; + if(((left + width) - x) < option_redraw_tile_size_x) clip.x1 = (left + width) - x; //printf("%ld %ld -> %ld %ld\n",clip.x0 - (int)(x / gwin->bw->scale), clip.y0 - (int)(y / gwin->bw->scale), clip.x1, clip.y1); |