From 8bbcbc7baf597f3ac3dd5ef9089d7136b3103f65 Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Tue, 22 Nov 2022 11:48:50 +0600 Subject: [PATCH] AD1848: Writes to register 27 are rejected on Crystal --- src/sound/snd_ad1848.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sound/snd_ad1848.c b/src/sound/snd_ad1848.c index de90a3356..558024fb5 100644 --- a/src/sound/snd_ad1848.c +++ b/src/sound/snd_ad1848.c @@ -378,6 +378,10 @@ ad1848_write(uint16_t addr, uint8_t val, void *priv) case 25: return; + case 27: + if (ad1848->type != AD1848_TYPE_DEFAULT) + return; + break; } ad1848->regs[ad1848->index] = val;