From a1daf63cdbde36f1f23e9d030ce9d62446a201be Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Tue, 23 Jun 2020 22:59:28 -0700 Subject: [PATCH] Core: Fix mCoreIsCompatible on null vf --- src/core/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/core.c b/src/core/core.c index 6688bef51..cbab4cfe9 100644 --- a/src/core/core.c +++ b/src/core/core.c @@ -62,7 +62,7 @@ struct mCore* mCoreFindVF(struct VFile* vf) { enum mPlatform mCoreIsCompatible(struct VFile* vf) { if (!vf) { - return false; + return PLATFORM_NONE; } const struct mCoreFilter* filter; for (filter = &_filters[0]; filter->filter; ++filter) {