From 068fe58cf93030fd96b7659bfc7626867ecd518a Mon Sep 17 00:00:00 2001 From: Laurent Vivier Date: Fri, 20 Dec 2019 22:40:54 +0100 Subject: mos6522: remove anh register Register addr 1 is defined as buffer A with handshake (vBufAH), register addr 15 is also defined as buffer A without handshake (vBufA). As both addresses access the same register, remove the definition of 'anh' and use only 'a' (with VIA_REG_ANH and VIA_REG_A). Fixes: 51f233ec92cd ("misc: introduce new mos6522 VIA device and enable it for ppc builds") Signed-off-by: Laurent Vivier Message-Id: <20191220214054.76525-1-laurent@vivier.eu> Signed-off-by: David Gibson --- include/hw/misc/mos6522.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/hw/misc/mos6522.h') diff --git a/include/hw/misc/mos6522.h b/include/hw/misc/mos6522.h index 493c907537..97384c6e02 100644 --- a/include/hw/misc/mos6522.h +++ b/include/hw/misc/mos6522.h @@ -115,7 +115,6 @@ typedef struct MOS6522State { uint8_t pcr; uint8_t ifr; uint8_t ier; - uint8_t anh; MOS6522Timer timers[2]; uint64_t frequency; -- cgit 1.4.1