mirror of https://github.com/mgba-emu/mgba.git
Core: Fix mCoreIsCompatible on null vf
This commit is contained in:
parent
f6b8f9801c
commit
609e52b6a0
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue