vmware/legacy: Fix initial mode size v2
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 8 Feb 2012 14:00:20 +0000 (15:00 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 8 Feb 2012 15:13:58 +0000 (16:13 +0100)
commitc5c38bab8c493985349356be5fadc14d3aee8040
tree37058962fd19a86fb83b2f7ec1fe2dd959fef1c5
parent49b4cbc5100ce9a4cc40132c2839f9401a58b92e
vmware/legacy: Fix initial mode size v2

Commit "vmwlegacy: Make the default be a minium of 800x600..."
read the dimensions from the incorrect register pair.

v2: Also treat initial widths and heights larger than the maximum
values as an error and revert back to the minimum.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
src/vmware.c