projects
/
qemu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
char device support
[qemu]
/
hw
/
vga.c
diff --git
a/hw/vga.c
b/hw/vga.c
index
1a55975
..
2a0a9c3
100644
(file)
--- a/
hw/vga.c
+++ b/
hw/vga.c
@@
-190,6
+190,9
@@
static uint32_t vga_ioport_read(void *opaque, uint32_t addr)
case 0x3c7:
val = s->dac_state;
break;
+ case 0x3c8:
+ val = s->dac_write_index;
+ break;
case 0x3c9:
val = s->palette[s->dac_read_index * 3 + s->dac_sub_index];
if (++s->dac_sub_index == 3) {