|
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
[Prev in Thread] | Current Thread | [Next in Thread] |