From d31bca5279ec628577bd7bbbd058c11df0dda4d0 Mon Sep 17 00:00:00 2001 From: OBattler Date: Sat, 12 Dec 2020 10:18:00 +0100 Subject: [PATCH] Removed two void returns (how that even valid?!) from the 808x code. --- src/cpu/808x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cpu/808x.c b/src/cpu/808x.c index bb579f473..c14a2b604 100644 --- a/src/cpu/808x.c +++ b/src/cpu/808x.c @@ -462,9 +462,9 @@ static void writemem(uint32_t s, uint16_t v) { if (opcode & 1) - return writememw(s, cpu_state.eaaddr, v); + writememw(s, cpu_state.eaaddr, v); else - return writememb(s, cpu_state.eaaddr, (uint8_t) (v & 0xff)); + writememb(s, cpu_state.eaaddr, (uint8_t) (v & 0xff)); }