summaryrefslogtreecommitdiff
path: root/disas.h
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-04-28 21:16:21 +0200
committerBlue Swirl <blauwirbel@gmail.com>2012-05-01 10:45:43 +0000
commit1b296044b6fa46757f755c86e05ed3bf99d78f26 (patch)
tree6e494fa2aebc5aeaee6ebab2954d6d29b6e819d3 /disas.h
parentfd06257351683ba24ebebd9793df3fd0fb59988e (diff)
downloadqemu-1b296044b6fa46757f755c86e05ed3bf99d78f26.tar.gz
qemu-1b296044b6fa46757f755c86e05ed3bf99d78f26.tar.bz2
qemu-1b296044b6fa46757f755c86e05ed3bf99d78f26.zip
vga: Don't switch to 1 x 1 character text screen
Initially, vga_get_text_resolution returns a text resolution of 1 x 1 (vga register values are 0). This is visible during MIPS Malta boot with SDL. It also occurs with the i386 or x86_64 system emulation when it runs in single step mode: QEMU changes the size of the SDL window to the smallest possible value which is supported by the window manager. As this is not the calculated size, QEMU switches to scaled mode. When the BIOS or the VGA driver sets the normal text resolution, the window stays small and displays microscopic characters. Ignoring text resolutions of 1 x 1 or less avoids these problems. A similar workaround already exists for too large resolutions. Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'disas.h')
0 files changed, 0 insertions, 0 deletions