summaryrefslogtreecommitdiff
path: root/opl/opl.c
diff options
context:
space:
mode:
Diffstat (limited to 'opl/opl.c')
-rw-r--r--opl/opl.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/opl/opl.c b/opl/opl.c
index e53b5d6e..6e75c951 100644
--- a/opl/opl.c
+++ b/opl/opl.c
@@ -117,6 +117,14 @@ void OPL_SetCallback(unsigned int ms, opl_callback_t callback, void *data)
}
}
+void OPL_ClearCallbacks(void)
+{
+ if (driver != NULL)
+ {
+ driver->clear_callbacks_func();
+ }
+}
+
void OPL_Lock(void)
{
if (driver != NULL)