[SeaBIOS] [PATCH 2/2] vgabios: Limit the range of the VBE number of "pages" parameter.
Peter Stuge
peter at stuge.se
Sat Sep 14 10:48:16 CEST 2013
Paul Menzel wrote:
> > + if (pages < 2)
> > + pages++;
>
> Can pages be 0? If yes, it would be 0 again after substracting 1. Should
> it be `pages = 1` instead of `pages++`?
pages=2;
//Peter
More information about the SeaBIOS
mailing list