summaryrefslogtreecommitdiff
path: root/cd/src/drv/cd0emf.c
diff options
context:
space:
mode:
Diffstat (limited to 'cd/src/drv/cd0emf.c')
-rwxr-xr-xcd/src/drv/cd0emf.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/cd/src/drv/cd0emf.c b/cd/src/drv/cd0emf.c
index 13beb4c..7e05134 100755
--- a/cd/src/drv/cd0emf.c
+++ b/cd/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;
}