diff options
author | malc <av1474@comtv.ru> | 2012-08-27 18:33:20 +0400 |
---|---|---|
committer | malc <av1474@comtv.ru> | 2012-08-27 18:33:20 +0400 |
commit | df8002103c3e262dc40d7b5e0eb2171ba28b1d63 (patch) | |
tree | c1f3010fc5622b38280019d82f6fcc5792761d43 /vl.c | |
parent | 4f213879f3cc695644cfd8bf603495e7316c78f6 (diff) | |
download | qemu-df8002103c3e262dc40d7b5e0eb2171ba28b1d63.zip qemu-df8002103c3e262dc40d7b5e0eb2171ba28b1d63.tar.gz qemu-df8002103c3e262dc40d7b5e0eb2171ba28b1d63.tar.bz2 |
Revert "vga: add some optional CGA compatibility hacks"
This reverts commit 482f7bf86b43af9f6903c52726fedf82b28bf953.
Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 23 |
1 files changed, 0 insertions, 23 deletions
@@ -179,7 +179,6 @@ int main(int argc, char **argv) static const char *data_dir; const char *bios_name = NULL; enum vga_retrace_method vga_retrace_method = VGA_RETRACE_DUMB; -int vga_cga_hacks = 0; DisplayType display_type = DT_DEFAULT; int display_remote = 0; const char* keyboard_layout = NULL; @@ -1749,28 +1748,6 @@ static void select_vgahw (const char *p) else if (strstart(opts, "precise", &nextopt)) vga_retrace_method = VGA_RETRACE_PRECISE; else goto invalid_vga; - } else if (strstart(opts, ",cga_hacks=", &nextopt)) { - opts = nextopt; - while (*opts) { - if (strstart(opts, "all", &nextopt)) { - opts = nextopt; - vga_cga_hacks |= ~0; - } else if (strstart(opts, "palette_blanking", &nextopt)) { - opts = nextopt; - vga_cga_hacks |= VGA_CGA_HACK_PALETTE_BLANKING; - } else if (strstart(opts, "font_height", &nextopt)) { - opts = nextopt; - vga_cga_hacks |= VGA_CGA_HACK_FONT_HEIGHT; - } else { - break; - } - - if (*opts == '+') { - opts++; - } else { - break; - } - } } else goto invalid_vga; opts = nextopt; } |