Revision e6eccb38

b/hw/vga.c
190 190
        case 0x3c7:
191 191
            val = s->dac_state;
192 192
            break;
193
	case 0x3c8:
194
	    val = s->dac_write_index;
195
	    break;
193 196
        case 0x3c9:
194 197
            val = s->palette[s->dac_read_index * 3 + s->dac_sub_index];
195 198
            if (++s->dac_sub_index == 3) {

Also available in: Unified diff