From 06f2daa56e0eb8e592c015b07dbeb787bb081e4d Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 5 Jul 2021 21:37:37 +0000 Subject: Added TAP file loading. --- source/spec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/spec.c') 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) { -- cgit v1.2.3