From 793788771dcf70b2ff2c7c082517f33239bf719d Mon Sep 17 00:00:00 2001 From: Ian C Date: Sun, 23 Apr 2023 08:11:33 +0800 Subject: Fixed non-array mode --- z80_decode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'z80_decode.c') diff --git a/z80_decode.c b/z80_decode.c index dcca2c2..15d0179 100644 --- a/z80_decode.c +++ b/z80_decode.c @@ -102,13 +102,13 @@ void Z80_InitialiseInternals(void) } #ifndef ENABLE_ARRAY_MEMORY -static Z80Word FPEEKW(Z80 *cpu, Z80Word addr) +Z80Word FPEEKW(Z80 *cpu, Z80Word addr) { return (PEEK(addr) | (Z80Word)PEEK(addr+1)<<8); } -static void FPOKEW(Z80 *cpu, Z80Word addr, Z80Word val) +void FPOKEW(Z80 *cpu, Z80Word addr, Z80Word val) { PRIV->mwrite(cpu,addr,val); PRIV->mwrite(cpu,addr+1,val>>8); -- cgit v1.2.3