diff options
author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2021-10-20 15:18:10 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2021-10-20 16:25:04 +0200 |
commit | a56c12fb760a57c1419df4a34e930160f1d8d428 (patch) | |
tree | 9d42a9479d86ac934383fb0d60dfbd061f0f23de | |
parent | 3ea74abe2ddfd0741d4aa75484c88b346b85fb26 (diff) | |
download | qemu-a56c12fb760a57c1419df4a34e930160f1d8d428.zip qemu-a56c12fb760a57c1419df4a34e930160f1d8d428.tar.gz qemu-a56c12fb760a57c1419df4a34e930160f1d8d428.tar.bz2 |
q800: drop 8-bit graphic_depth check for Apple 21 inch display
The graphic_depth check is no longer required since commit df8abbbadf ("macfb:
add common monitor modes supported by the MacOS toolbox ROM") which introduced
code in macfb_common_realize() to only allow the resolutions/depths provided in
macfb_mode_table to be specified for each display type.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fixes: df8abbbadf ("macfb: add common monitor modes supported by the MacOS toolbox ROM")
Message-Id: <20211020141810.7875-1-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
-rw-r--r-- | hw/m68k/q800.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/m68k/q800.c b/hw/m68k/q800.c index a081051..e4c7c9b 100644 --- a/hw/m68k/q800.c +++ b/hw/m68k/q800.c @@ -584,7 +584,7 @@ static void q800_init(MachineState *machine) qdev_prop_set_uint32(dev, "width", graphic_width); qdev_prop_set_uint32(dev, "height", graphic_height); qdev_prop_set_uint8(dev, "depth", graphic_depth); - if (graphic_width == 1152 && graphic_height == 870 && graphic_depth == 8) { + if (graphic_width == 1152 && graphic_height == 870) { qdev_prop_set_uint8(dev, "display", MACFB_DISPLAY_APPLE_21_COLOR); } else { qdev_prop_set_uint8(dev, "display", MACFB_DISPLAY_VGA); |