Commit 1cc98a5f045fefd4d0243a8f868c8a331839def0

Authored by bellard
1 parent de9258a8

hardware cursor depth = 15 fix


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@906 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
hw/vga_template.h
... ... @@ -497,7 +497,7 @@ void glue(vga_draw_cursor_line_, DEPTH)(uint8_t *d1,
497 497 #else
498 498 #error unsupported depth
499 499 #endif
500   - d += (DEPTH / 8);
  500 + d += BPP;
501 501 }
502 502 }
503 503 #endif
... ...