summaryrefslogtreecommitdiff
path: root/source/spec.c
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2021-07-05 21:37:37 +0000
committerIan C <ianc@noddybox.co.uk>2021-07-05 21:37:37 +0000
commit06f2daa56e0eb8e592c015b07dbeb787bb081e4d (patch)
tree59c9a9c05fff8e4aff8b7ad045dc739151a7a027 /source/spec.c
parent0bc192bffbf28ba5733ae955916e5ebc72f3641f (diff)
Added TAP file loading.
Diffstat (limited to 'source/spec.c')
-rw-r--r--source/spec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/spec.c b/source/spec.c
index 5fa5060..e0698c2 100644
--- a/source/spec.c
+++ b/source/spec.c
@@ -306,7 +306,7 @@ static int EDCallback(Z80 *z80, Z80Val data)
if (TAPLoad(z80->AF.b[Z80_HI_WORD],
&z80->IX.w,
&z80->DE.w,
- SPECWriteSnap))
+ SPECWriteMemSNAP))
{
z80->AF.b[Z80_LO_WORD] |= eZ80_Carry;
z80->BC.w=0xb001;
@@ -394,7 +394,7 @@ void SPECWriteMem(Z80 *z80, Z80Word addr, Z80Byte val)
}
-void SPECWriteSnap(Z80Word addr, Z80Byte val)
+void SPECWriteMemSNAP(Z80Word addr, Z80Byte val)
{
if (addr>=ROMLEN)
{