Commit de956597d6308782fd0e2de0e9560e2b986c07a9

Authored by balrog
1 parent 6ad193ed

Fix the PXA2xx LCD dirty page detection a little more.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6037 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
hw/pxa2xx_lcd.c
... ... @@ -696,7 +696,7 @@ static void pxa2xx_lcdc_dma0_redraw_horiz(struct pxa2xx_lcdc_s *s,
696 696 addr = (ram_addr_t) (fb - phys_ram_base);
697 697 start = addr + s->yres * src_width;
698 698 end = addr;
699   - dirty[0] = dirty[1] = cpu_physical_memory_get_dirty(start, VGA_DIRTY_FLAG);
  699 + dirty[0] = dirty[1] = cpu_physical_memory_get_dirty(addr, VGA_DIRTY_FLAG);
700 700 for (y = 0; y < s->yres; y ++) {
701 701 new_addr = addr + src_width;
702 702 for (x = addr + TARGET_PAGE_SIZE; x < new_addr;
... ...