summaryrefslogtreecommitdiff
path: root/z80_decode.c
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2023-04-23 08:11:33 +0800
committerIan C <ianc@noddybox.co.uk>2023-04-23 08:11:33 +0800
commit793788771dcf70b2ff2c7c082517f33239bf719d (patch)
treecd05ebbe84ff34e494f9d9020b874dbf979a5ad0 /z80_decode.c
parentd42634ec2748926eed6ce277f0c5046e73f682cf (diff)
Fixed non-array mode
Diffstat (limited to 'z80_decode.c')
-rw-r--r--z80_decode.c4
1 files changed, 2 insertions, 2 deletions
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);