qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 03/10] vga: add vga_scanline_invalidated helper


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH 03/10] vga: add vga_scanline_invalidated helper
Date: Tue, 18 Apr 2017 11:23:48 +0200

> > +static bool vga_scanline_invalidated(VGACommonState *s, int y)
> > +{
> > +    if (y >= VGA_MAX_HEIGHT) {
> > +        return false;
> > +    }
> > +    return s->invalidated_y_table[y >> 5] |= 1 << (y & 0x1f);
> > +}

> The return stmt doesn't match what you're replacing.  Are you really 
> intending 
> to modify invalidated_y_table here?

No.  Really stupid cut&paste bug.  Fixed.

thanks,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]