all repos — mgba @ a1daf63cdbde36f1f23e9d030ce9d62446a201be

mGBA Game Boy Advance Emulator

Core: Fix mCoreIsCompatible on null vf
Vicki Pfau vi@endrift.com
Tue, 23 Jun 2020 22:59:28 -0700
commit

a1daf63cdbde36f1f23e9d030ce9d62446a201be

parent

27e7837fa1355176cf3317e7fe32d7e604776b41

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/core/core.csrc/core/core.c

@@ -62,7 +62,7 @@ }

enum mPlatform mCoreIsCompatible(struct VFile* vf) { if (!vf) { - return false; + return PLATFORM_NONE; } const struct mCoreFilter* filter; for (filter = &_filters[0]; filter->filter; ++filter) {