aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2023-10-26 09:56:47 +0100
committerLaurent Vivier <laurent@vivier.eu>2023-11-05 15:48:36 +0100
commita24fe909f30c7b6ad49848af1b15c1dc714081b5 (patch)
tree37d9a5907f0ab7528a2031b3651516970be03a06
parentd762bf97931b58839316b68a570eecc6143c9e3e (diff)
downloadqemu-a24fe909f30c7b6ad49848af1b15c1dc714081b5.zip
qemu-a24fe909f30c7b6ad49848af1b15c1dc714081b5.tar.gz
qemu-a24fe909f30c7b6ad49848af1b15c1dc714081b5.tar.bz2
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>
-rw-r--r--hw/display/macfb.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/display/macfb.c b/hw/display/macfb.c
index 2f8e016..28db2e9 100644
--- a/hw/display/macfb.c
+++ b/hw/display/macfb.c
@@ -585,8 +585,6 @@ static void macfb_ctrl_write(void *opaque,
break;
case DAFB_RESET:
s->palette_current = 0;
- s->regs[DAFB_INTR_STAT >> 2] &= ~DAFB_INTR_VBL;
- macfb_update_irq(s);
break;
case DAFB_LUT:
s->color_palette[s->palette_current] = val;