summaryrefslogtreecommitdiff
path: root/opl/opl.c
diff options
context:
space:
mode:
Diffstat (limited to 'opl/opl.c')
-rw-r--r--opl/opl.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/opl/opl.c b/opl/opl.c
index 6e75c951..9d73fe0e 100644
--- a/opl/opl.c
+++ b/opl/opl.c
@@ -33,7 +33,7 @@
#include "opl.h"
#include "opl_internal.h"
-//#define OPL_DEBUG_TRACE
+#define OPL_DEBUG_TRACE
#ifdef HAVE_IOPERM
extern opl_driver_t opl_linux_driver;
@@ -195,3 +195,11 @@ void OPL_Delay(unsigned int ms)
SDL_DestroyCond(delay_data.cond);
}
+void OPL_SetPaused(int paused)
+{
+ if (driver != NULL)
+ {
+ driver->set_paused_func(paused);
+ }
+}
+