]> Git Repo - qemu.git/blobdiff - hw/sm501.c
scsi: change "removable" field to host many features
[qemu.git] / hw / sm501.c
index 94c0abf4cbd832d81521936876c856aadc412f13..786e07629c9c3e5eb12e50fdd84da812f731545d 100644 (file)
@@ -1327,8 +1327,8 @@ static void sm501_draw_crt(SM501State * s)
         ram_addr_t page1 = offset + width * src_bpp - 1;
 
        /* check dirty flags for each line */
-        update = memory_region_get_dirty(&s->local_mem_region, page0, page1,
-                                         DIRTY_MEMORY_VGA);
+        update = memory_region_get_dirty(&s->local_mem_region, page0,
+                                         page1 - page0, DIRTY_MEMORY_VGA);
 
        /* draw line and change status */
        if (update) {
This page took 0.026032 seconds and 4 git commands to generate.