summaryrefslogtreecommitdiff
path: root/opl/opl.h
diff options
context:
space:
mode:
Diffstat (limited to 'opl/opl.h')
-rw-r--r--opl/opl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/opl/opl.h b/opl/opl.h
index 3413e3ab..a0998404 100644
--- a/opl/opl.h
+++ b/opl/opl.h
@@ -79,6 +79,10 @@ unsigned int OPL_ReadPort(opl_port_t port);
void OPL_SetCallback(unsigned int ms, opl_callback_t callback, void *data);
+// Clear all OPL callbacks that have been set.
+
+void OPL_ClearCallbacks(void);
+
// Begin critical section, during which, OPL callbacks will not be
// invoked.