summaryrefslogtreecommitdiff
path: root/src/drv/cd0emf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drv/cd0emf.c')
-rw-r--r--src/drv/cd0emf.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/drv/cd0emf.c b/src/drv/cd0emf.c
index 13beb4c..7e05134 100644
--- a/src/drv/cd0emf.c
+++ b/src/drv/cd0emf.c
@@ -6,11 +6,19 @@
#include <stdlib.h>
#include "cd.h"
+#include "cd_private.h"
#include "cdemf.h"
cdContext* cdContextEMF(void)
{
+ if (cdUseContextPlus(CD_QUERY))
+ {
+ cdContext* ctx = cdGetContextPlus(CD_CTX_EMF);
+ if (ctx != NULL)
+ return ctx;
+ }
+
return NULL;
}