macfb: don't clear interrupts when writing to DAFB_RESET

Traces from A/UX suggest that this register is only used to reset the framebuffer
LUT (colour lookup table) and not any other device state.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20231026085650.917663-2-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
Mark Cave-Ayland 2023-10-26 09:56:47 +01:00 committed by Laurent Vivier
parent d762bf9793
commit a24fe909f3

View File

@ -585,8 +585,6 @@ static void macfb_ctrl_write(void *opaque,
break; break;
case DAFB_RESET: case DAFB_RESET:
s->palette_current = 0; s->palette_current = 0;
s->regs[DAFB_INTR_STAT >> 2] &= ~DAFB_INTR_VBL;
macfb_update_irq(s);
break; break;
case DAFB_LUT: case DAFB_LUT:
s->color_palette[s->palette_current] = val; s->color_palette[s->palette_current] = val;