summaryrefslogtreecommitdiff
path: root/include/snap.h
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 /include/snap.h
parent0bc192bffbf28ba5733ae955916e5ebc72f3641f (diff)
Added TAP file loading.
Diffstat (limited to 'include/snap.h')
-rw-r--r--include/snap.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/snap.h b/include/snap.h
index 62b6063..ce74bf3 100644
--- a/include/snap.h
+++ b/include/snap.h
@@ -37,7 +37,11 @@ typedef void (*SNAP_Poke)(Z80Word address, Z80Byte val);
/* Sets the active TAP file
*/
-void TAPSetTape(Z80Byte *tap, int len);
+void TAPOpenTape(const char *path);
+
+/* Close the active TAP file. Can be called when no tape is open.
+*/
+void TAPCloseTape(void);
/* Loads a block from a TAP file. Returns FALSE for failure.
*/